aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2024-02-04 17:14:14 -0600
committerDavid S. Miller <[email protected]>2024-02-07 13:47:07 +0000
commit17b447539408a0feff81637c7cc1c4c68efa73c0 (patch)
tree6794309990ad7ddc60b73eb92d26439acf902932 /lib/test-string_helpers.c
parent56b93cd358b304b2d1945c0330dffe8f872bc0d3 (diff)
net: phy: c45 scanning: Don't consider -ENODEV fatal
When scanning the MDIO bus for C22 devices, the driver returning -ENODEV is not considered fatal, it just indicates the MDIO bus master knows there is no device at that address, maybe because of hardware limitation. Make the C45 scan code act on -ENODEV the same way, to make C22 and C45 more uniform. It is expected all reads for a given address will return -ENODEV, so within get_phy_c45_ids() only the first place a read occurs has been changed. Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions