Home
last modified time | relevance | path

Searched hist:"73 c105ad2a3e142d81fc59761ce8353d0b211b8f" (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/phy/
H A Daquantia_main.cdiff 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 Dphy-core.cdiff 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 Dravb_main.cdiff 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 Dsh_eth.cdiff 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 Dphy.hdiff 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>