diff options
author | 2024-12-16 13:09:41 +0100 | |
---|---|---|
committer | 2024-12-17 19:51:55 -0800 | |
commit | 01e2f4d55bda0e24548e1458e77975898683a2cd (patch) | |
tree | 0cd9ffcd72020137e89e12bccbadf3ef5efea1ac /tools/perf/scripts/python/stackcollapse.py | |
parent | net: usb: lan78xx: remove PHY register access from ethtool get_regs (diff) | |
download | wireguard-linux-01e2f4d55bda0e24548e1458e77975898683a2cd.tar.xz wireguard-linux-01e2f4d55bda0e24548e1458e77975898683a2cd.zip |
net: usb: lan78xx: Improve error handling in WoL operations
Enhance error handling in Wake-on-LAN (WoL) operations:
- Log a warning in `lan78xx_get_wol` if `lan78xx_read_reg` fails.
- Check and handle errors from `device_set_wakeup_enable` and
`phy_ethtool_set_wol` in `lan78xx_set_wol`.
- Ensure proper cleanup with a unified error handling path.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20241216120941.1690908-7-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions