From: Geert Uytterhoeven Date: Thu, 28 Oct 2010 18:34:58 +0000 (-0700) Subject: net: atarilance - flags should be unsigned long X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1abc9a9aca06ceb795eb5405264eaafe016ec5c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git net: atarilance - flags should be unsigned long drivers/net/atarilance.c: In function ‘addr_accessible’: drivers/net/atarilance.c:413: warning: comparison of distinct pointer types lacks a cast drivers/net/atarilance.c:450: warning: comparison of distinct pointer types lacks a cast Signed-off-by: Geert Uytterhoeven Signed-off-by: David S. Miller --- diff --git a/drivers/net/atarilance.c b/drivers/net/atarilance.c index 3134e5326231..8cb27cb7bca1 100644 --- a/drivers/net/atarilance.c +++ b/drivers/net/atarilance.c @@ -407,7 +407,7 @@ static noinline int __init addr_accessible(volatile void *regp, int wordflag, int writeflag) { int ret; - long flags; + unsigned long flags; long *vbr, save_berr; local_irq_save(flags);