summaryrefslogtreecommitdiffstats
path: root/drivers/net/atarilance.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2010-10-28 20:34:58 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-28 20:47:53 +0200
commitd1abc9a9aca06ceb795eb5405264eaafe016ec5c (patch)
tree40fd4383038b94bdeae86894f7b77ae11ac0acf2 /drivers/net/atarilance.c
parentnetxen: fix kdump (diff)
downloadlinux-d1abc9a9aca06ceb795eb5405264eaafe016ec5c.tar.xz
linux-d1abc9a9aca06ceb795eb5405264eaafe016ec5c.zip
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 <geert@linux-m68k.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atarilance.c')
-rw-r--r--drivers/net/atarilance.c2
1 files changed, 1 insertions, 1 deletions
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);