From: Hannes Eder Date: Sat, 14 Feb 2009 11:12:36 +0000 (+0000) Subject: drivers/net/ns83820.c: fix sparse warnings: fix signedness X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d7dce76c51a590fdd7616285a96825aa517ede0;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: David S. Miller --- 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];