netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: atarilance - flags should be unsigned long
@ 2010-10-28 18:31 Geert Uytterhoeven
  2010-10-28 18:35 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2010-10-28 18:31 UTC (permalink / raw)
  To: David S. Miller, Andrew Morton
  Cc: netdev, Linux Kernel Development, Linux/m68k

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>
---
 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);
-- 
1.7.0.4

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: atarilance - flags should be unsigned long
  2010-10-28 18:31 [PATCH] net: atarilance - flags should be unsigned long Geert Uytterhoeven
@ 2010-10-28 18:35 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-10-28 18:35 UTC (permalink / raw)
  To: geert; +Cc: akpm, netdev, linux-kernel, linux-m68k

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu, 28 Oct 2010 20:31:53 +0200 (CEST)

> 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>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-28 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-28 18:31 [PATCH] net: atarilance - flags should be unsigned long Geert Uytterhoeven
2010-10-28 18:35 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).