diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-09-05 03:41:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-16 16:50:36 -0400 |
commit | b548f97684412b0969dc148e1706eb047151e356 (patch) | |
tree | 94c26c7d961b2d7f0dc9a3c539cf334cdb12628d /drivers/net/ethernet/sfc/ethtool.c | |
parent | 9f85ee9c49319a5843de66271af9e9eea02becfc (diff) |
sfc: Use consistent types for interrupt coalescing parameters
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ethtool.c')
-rw-r--r-- | drivers/net/ethernet/sfc/ethtool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/ethtool.c b/drivers/net/ethernet/sfc/ethtool.c index 6de2715dae18..dedaa2c97e3c 100644 --- a/drivers/net/ethernet/sfc/ethtool.c +++ b/drivers/net/ethernet/sfc/ethtool.c | |||
@@ -625,7 +625,8 @@ static int efx_ethtool_set_coalesce(struct net_device *net_dev, | |||
625 | { | 625 | { |
626 | struct efx_nic *efx = netdev_priv(net_dev); | 626 | struct efx_nic *efx = netdev_priv(net_dev); |
627 | struct efx_channel *channel; | 627 | struct efx_channel *channel; |
628 | unsigned tx_usecs, rx_usecs, adaptive; | 628 | unsigned int tx_usecs, rx_usecs; |
629 | bool adaptive; | ||
629 | 630 | ||
630 | if (coalesce->use_adaptive_tx_coalesce) | 631 | if (coalesce->use_adaptive_tx_coalesce) |
631 | return -EINVAL; | 632 | return -EINVAL; |