Thread (29 messages) 29 messages, 4 authors, 2024-12-13

Re: [PATCH net-next v1 11/11] net: usb: lan78xx: Improve error handling in WoL operations

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-12-10 02:13:32
Also in: lkml

On Mon, Dec 09, 2024 at 02:07:51PM +0100, Oleksij Rempel wrote:
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>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help