Skip to content
Snippets Groups Projects
Commit 97d1935a authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

netdev: Make ethtool_ops::set_flags() return -EINVAL for unsupported flags


The documented error code for attempts to set unsupported flags (or
to clear flags that cannot be disabled) is EINVAL, not EOPNOTSUPP.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Acked-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1437ce39
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment