diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-10-28 22:34:58 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-28 22:47:53 +0400 |
commit | d1abc9a9aca06ceb795eb5405264eaafe016ec5c (patch) | |
tree | 40fd4383038b94bdeae86894f7b77ae11ac0acf2 /drivers/net | |
parent | 683b65f89a7c26d9a9180d25066815ef5a31bd71 (diff) | |
download | linux-d1abc9a9aca06ceb795eb5405264eaafe016ec5c.tar.xz |
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')
-rw-r--r-- | drivers/net/atarilance.c | 2 |
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); |