aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl/cli.py
diff options
context:
space:
mode:
authorOleksij Rempel <[email protected]>2025-05-05 08:43:35 +0000
committerDavid S. Miller <[email protected]>2025-05-07 11:57:05 +0000
commit232aa459aa40a6f3c7d27063b3e9c1d57786eaff (patch)
treedab723e6a7a4146aa15206162eb9255f02aefaca /tools/net/ynl/pyynl/cli.py
parentMerge tag 'wireless-next-2025-05-06' of https://git.kernel.org/pub/scm/linux/... (diff)
downloadkernel-232aa459aa40a6f3c7d27063b3e9c1d57786eaff.tar.gz
kernel-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 <[email protected]> Reviewed-by: Thangaraj Samynathan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions