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

Following commit 1437ce3983bcbc0447a0dedcd644c14fe833d266 "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