mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
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>
This commit is contained in:
parent
683b65f89a
commit
d1abc9a9ac
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user