summaryrefslogtreecommitdiffstats
path: root/drivers/net/ns83820.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-14 11:12:36 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-17 17:21:09 -0800
commit5d7dce76c51a590fdd7616285a96825aa517ede0 (patch)
treec4d1e2bfe79a4cc999c78ca3a21d3049861514fa /drivers/net/ns83820.c
parentfbf978914e8fbc804ddbd68550bb2c7d14b2049d (diff)
downloadtalos-op-linux-5d7dce76c51a590fdd7616285a96825aa517ede0.tar.gz
talos-op-linux-5d7dce76c51a590fdd7616285a96825aa517ede0.zip
drivers/net/ns83820.c: fix sparse warnings: fix signedness
Fix this sparse warnings: drivers/net/ns83820.c:479:36: warning: incorrect type in argument 2 (different signedness) drivers/net/ns83820.c:479:36: warning: incorrect type in argument 2 (different signedness) drivers/net/ns83820.c:479:36: warning: incorrect type in argument 2 (different signedness) drivers/net/ns83820.c:479:36: warning: incorrect type in argument 2 (different signedness) Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ns83820.c')
-rw-r--r--drivers/net/ns83820.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ns83820.c b/drivers/net/ns83820.c
index e80294d8cc19..9266502b5588 100644
--- a/drivers/net/ns83820.c
+++ b/drivers/net/ns83820.c
@@ -409,7 +409,7 @@ static int lnksts = 0; /* CFG_LNKSTS bit polarity */
struct rx_info {
spinlock_t lock;
int up;
- long idle;
+ unsigned long idle;
struct sk_buff *skbs[NR_RX_DESC];
OpenPOWER on IntegriCloud