summaryrefslogtreecommitdiffstats
path: root/drivers/net/e100.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-05 17:19:47 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:55:27 -0700
commitddfce6bb43c6bf1c9956e7a65ce1b2e19a156bd2 (patch)
tree38e871422ccb6168ae84ca6e33e9374715c3df9b /drivers/net/e100.c
parent43b7c451a03fe5f615710e26e8e2a3dd70eaa5b1 (diff)
downloadkernel-crypto-ddfce6bb43c6bf1c9956e7a65ce1b2e19a156bd2.tar.gz
kernel-crypto-ddfce6bb43c6bf1c9956e7a65ce1b2e19a156bd2.tar.xz
kernel-crypto-ddfce6bb43c6bf1c9956e7a65ce1b2e19a156bd2.zip
network drivers: sparse warning fixes
Fix some of the easy warnings in network device drivers. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/e100.c')
-rw-r--r--drivers/net/e100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index 7bd96040268..64f35e20fd4 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -1990,7 +1990,7 @@ static int e100_poll(struct napi_struct *napi, int budget)
{
struct nic *nic = container_of(napi, struct nic, napi);
struct net_device *netdev = nic->netdev;
- int work_done = 0;
+ unsigned int work_done = 0;
int tx_cleaned;
e100_rx_clean(nic, &work_done, budget);