diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-10-28 18:34:58 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-28 18:47:53 (GMT) |
commit | d1abc9a9aca06ceb795eb5405264eaafe016ec5c (patch) | |
tree | 40fd4383038b94bdeae86894f7b77ae11ac0acf2 | |
parent | 683b65f89a7c26d9a9180d25066815ef5a31bd71 (diff) | |
download | linux-fsl-qoriq-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>
-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 3134e53..8cb27cb 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); |