summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMatthias Brugger <matthias.bgg@gmail.com>2018-03-15 17:54:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-08 12:13:00 +0200
commit83216cbbfda8c7091fffa8260e4436355f1d49a7 (patch)
treeb00bc1a9cccaeeb588b54ccab62d663183e8b77c /block
parent4e4321c232c75230bd1579eba6c5b3f54571328d (diff)
net: hns: Fix ethtool private flags
commit d61d263c8d82db7c4404a29ebc29674b1c0c05c9 upstream. The driver implementation returns support for private flags, while no private flags are present. When asked for the number of private flags it returns the number of statistic flag names. Fix this by returning EOPNOTSUPP for not implemented ethtool flags. Signed-off-by: Matthias Brugger <mbrugger@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net> Cc: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions