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 14:26:33 +0200
commitb31397c9b945218f13c3cd9c64a4261830c4781a (patch)
tree28ae1fcd5f4c1856196b0c27d5c55026e96eb1e9 /block
parent9b47e99ac970c56078775ce9ace0cd2b673f10e8 (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