Searched hist:"73 c105ad2a3e142d81fc59761ce8353d0b211b8f" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/phy/ |
H A D | aquantia_main.c | diff 73c105ad2a3e142d81fc59761ce8353d0b211b8f Fri Jan 28 12:32:40 CST 2022 Sergey Shtylyov <s.shtylyov@omp.ru> phy: make phy_set_max_speed() *void*
After following the call tree of phy_set_max_speed(), it became clear that this function never returns anything but 0, so we can change its result type to *void* and drop the result checks from the three drivers that actually bothered to do it...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | phy-core.c | diff 73c105ad2a3e142d81fc59761ce8353d0b211b8f Fri Jan 28 12:32:40 CST 2022 Sergey Shtylyov <s.shtylyov@omp.ru> phy: make phy_set_max_speed() *void*
After following the call tree of phy_set_max_speed(), it became clear that this function never returns anything but 0, so we can change its result type to *void* and drop the result checks from the three drivers that actually bothered to do it...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ethernet/renesas/ |
H A D | ravb_main.c | diff 73c105ad2a3e142d81fc59761ce8353d0b211b8f Fri Jan 28 12:32:40 CST 2022 Sergey Shtylyov <s.shtylyov@omp.ru> phy: make phy_set_max_speed() *void*
After following the call tree of phy_set_max_speed(), it became clear that this function never returns anything but 0, so we can change its result type to *void* and drop the result checks from the three drivers that actually bothered to do it...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | sh_eth.c | diff 73c105ad2a3e142d81fc59761ce8353d0b211b8f Fri Jan 28 12:32:40 CST 2022 Sergey Shtylyov <s.shtylyov@omp.ru> phy: make phy_set_max_speed() *void*
After following the call tree of phy_set_max_speed(), it became clear that this function never returns anything but 0, so we can change its result type to *void* and drop the result checks from the three drivers that actually bothered to do it...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/include/linux/ |
H A D | phy.h | diff 73c105ad2a3e142d81fc59761ce8353d0b211b8f Fri Jan 28 12:32:40 CST 2022 Sergey Shtylyov <s.shtylyov@omp.ru> phy: make phy_set_max_speed() *void*
After following the call tree of phy_set_max_speed(), it became clear that this function never returns anything but 0, so we can change its result type to *void* and drop the result checks from the three drivers that actually bothered to do it...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|