]> git.baikalelectronics.ru Git - kernel.git/commit
IB/{nes, ipoib}: Pass supported flags to ethtool_op_set_flags()
authorBen Hutchings <bhutchings@solarflare.com>
Sat, 3 Jul 2010 09:41:29 +0000 (09:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Jul 2010 18:48:14 +0000 (11:48 -0700)
commitb18bf0b4e8804263535a95d7fc060b7659b8ad93
tree5550c007b82f91a6db47681dfcd08dc29b3ff13c
parent45e9ffa1f9a0d98bd881fa2dc5347ace38437f14
IB/{nes, ipoib}: Pass supported flags to ethtool_op_set_flags()

Following commit 231f0cf925cf046f2a3bfb9feb365d6d2eedf6a2 "ethtool:
Change ethtool_op_set_flags to validate flags", ethtool_op_set_flags
takes a third parameter and cannot be used directly as an
implementation of ethtool_ops::set_flags.

Changes nes and ipoib driver to pass in the appropriate value.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/nes/nes_nic.c
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c