Thread (35 messages) 35 messages, 3 authors, 2024-12-06

Re: [PATCH net-next v1 10/21] net: usb: lan78xx: Improve error handling in dataport and multicast writes

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2024-12-03 20:39:22
Also in: lkml

On Tue, Dec 03, 2024 at 08:21:43AM +0100, Oleksij Rempel wrote:
Update `lan78xx_dataport_write` and `lan78xx_deferred_multicast_write`
to:
- Handle errors during register read/write operations.
- Exit immediately on errors and log them using `%pe` for clarity.
- Avoid silent failures by propagating error codes properly.

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