summaryrefslogtreecommitdiffstats
path: root/drivers/net/e100.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-06 02:19:47 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 01:55:27 +0200
commitddfce6bb43c6bf1c9956e7a65ce1b2e19a156bd2 (patch)
tree38e871422ccb6168ae84ca6e33e9374715c3df9b /drivers/net/e100.c
parents2io: sparse warnings fix (rev2) (diff)
downloadlinux-ddfce6bb43c6bf1c9956e7a65ce1b2e19a156bd2.tar.xz
linux-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 7bd960402687..64f35e20fd48 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);