From: Andrew Lunn <[email protected]> 
Sent: Monday, January 12, 2026 4:33 PM

> +     if (keee_stored.eee_enabled == keee_requested->eee_enabled)
> +             return -EALREADY;
>
> know this is just moving code around, but i don't know of any other
>mplementation of EEE which returns -EALREADY when no change has been
>equested by the user. Maybe in a follow up patch you change this to 0?
>
>         Andrew

EALREADY is used here just for internal purpose to save some work.
Then we can have single input validation function and provide info
to the actual ethtool callback that it can early bail out.
Driver doesn't send EALREADY to ethtool, it's later replaced with 0.

Reply via email to