commit | 97d1935a61b7fe7a65f98f154c7f3301cfe746f3 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Wed Jun 30 02:46:56 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 30 14:09:36 2010 -0700 |
tree | 5c4586fd94e18935a9022f5c440f503daa32c636 | |
parent | 1437ce3983bcbc0447a0dedcd644c14fe833d266 [diff] |
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: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>