diff options
author | 2025-05-05 10:43:35 +0200 | |
---|---|---|
committer | 2025-05-07 12:57:05 +0100 | |
commit | 232aa459aa40a6f3c7d27063b3e9c1d57786eaff (patch) | |
tree | dab723e6a7a4146aa15206162eb9255f02aefaca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'wireless-next-2025-05-06' of https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next (diff) | |
download | wireguard-linux-232aa459aa40a6f3c7d27063b3e9c1d57786eaff.tar.xz wireguard-linux-232aa459aa40a6f3c7d27063b3e9c1d57786eaff.zip |
net: usb: lan78xx: Improve error handling in PHY initialization
Ensure that return values from `lan78xx_write_reg()`,
`lan78xx_read_reg()`, and `phy_find_first()` are properly checked and
propagated. Use `ERR_PTR(ret)` for error reporting in
`lan7801_phy_init()` and replace `-EIO` with `-ENODEV` where appropriate
to provide more accurate error codes.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Thangaraj Samynathan <thangaraj.s@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions