Re: [PATCH v2 net-next] ethtool: ioctl: improve error checking for set_wol

From: Florian Fainelli
Date: Thu Jun 08 2023 - 12:02:53 EST




On 6/7/2023 4:14 PM, Justin Chen wrote:
The netlink version of set_wol checks for not supported wolopts and avoids
setting wol when the correct wolopt is already set. If we do the same with
the ioctl version then we can remove these checks from the driver layer.

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>
Signed-off-by: Justin Chen <justin.chen@xxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature