diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-05-15 02:01:23 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-05-19 01:30:04 +0100 |
commit | 33cb0fa7888510b5bd2096352b200cfe29db10fe (patch) | |
tree | f949b316d558f52fb740f349570e94684a2ff1da /drivers/net/ethernet/emulex/benet/be_ethtool.c | |
parent | 61d88c6811f216de4ec26aafe24e650dc1aeb00e (diff) | |
download | lwn-33cb0fa7888510b5bd2096352b200cfe29db10fe.tar.gz lwn-33cb0fa7888510b5bd2096352b200cfe29db10fe.zip |
ethtool, be2net: constify array pointer parameters to ethtool_ops::set_rxfh
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_ethtool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_ethtool.c b/drivers/net/ethernet/emulex/benet/be_ethtool.c index 970ae337daac..e2da4d20dd3d 100644 --- a/drivers/net/ethernet/emulex/benet/be_ethtool.c +++ b/drivers/net/ethernet/emulex/benet/be_ethtool.c @@ -1117,7 +1117,8 @@ static int be_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey) return 0; } -static int be_set_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey) +static int be_set_rxfh(struct net_device *netdev, const u32 *indir, + const u8 *hkey) { int rc = 0, i, j; struct be_adapter *adapter = netdev_priv(netdev); |