Re: [PATCH net-next v1 02/11] net: usb: lan78xx: Add error handling to lan78xx_init_mac_address

From: Andrew Lunn
Date: Mon Dec 09 2024 - 21:01:56 EST


On Mon, Dec 09, 2024 at 02:07:42PM +0100, Oleksij Rempel wrote:
> Convert `lan78xx_init_mac_address` to return error codes and handle
> failures in register read and write operations. Update `lan78xx_reset`
> to check for errors during MAC address initialization and propagate them
> appropriately.
>
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew