Re: [PATCH net-next] net: phy: realtek: add error handling to rtl8211f_get_wol
From: Andrew Lunn
Date: Tue Jun 24 2025 - 11:43:57 EST
On Tue, Jun 24, 2025 at 04:17:33PM +0200, Daniel Braunwarth via B4 Relay wrote:
> From: Daniel Braunwarth <daniel.braunwarth@xxxxxxxx>
>
> We should check if the WOL settings was successfully read from the PHY.
>
> In case this fails we cannot just use the error code and proceed.
>
> Signed-off-by: Daniel Braunwarth <daniel.braunwarth@xxxxxxxx>
> Reported-by: Jon Hunter <jonathanh@xxxxxxxxxx>
> Closes: https://lore.kernel.org/baaa083b-9a69-460f-ab35-2a7cb3246ffd@xxxxxxxxxx
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew