diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-09-05 09:41:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-09-16 22:50:36 +0200 |
commit | b548f97684412b0969dc148e1706eb047151e356 (patch) | |
tree | 94c26c7d961b2d7f0dc9a3c539cf334cdb12628d /drivers/net/ethernet/sfc/ethtool.c | |
parent | sfc: Correct error code for unsupported interrupt coalescing parameters (diff) | |
download | linux-b548f97684412b0969dc148e1706eb047151e356.tar.xz linux-b548f97684412b0969dc148e1706eb047151e356.zip |
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, { struct efx_nic *efx = netdev_priv(net_dev); struct efx_channel *channel; - unsigned tx_usecs, rx_usecs, adaptive; + unsigned int tx_usecs, rx_usecs; + bool adaptive; if (coalesce->use_adaptive_tx_coalesce) return -EINVAL; |