summaryrefslogtreecommitdiff
path: root/block/bio.c
diff options
context:
space:
mode:
authorMatthias Brugger <matthias.bgg@gmail.com>2018-03-15 19:54:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-08 15:26:33 +0300
commitb31397c9b945218f13c3cd9c64a4261830c4781a (patch)
tree28ae1fcd5f4c1856196b0c27d5c55026e96eb1e9 /block/bio.c
parent9b47e99ac970c56078775ce9ace0cd2b673f10e8 (diff)
downloadlinux-b31397c9b945218f13c3cd9c64a4261830c4781a.tar.xz
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/bio.c')
0 files changed, 0 insertions, 0 deletions