netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ni52.c warnings explosion
@ 2008-02-21  7:26 Harvey Harrison
  2008-02-21 10:56 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-02-21  7:26 UTC (permalink / raw)
  To: Alan Cox, David Miller; +Cc: linux-netdev

Dave,

Somewhere between 2.6.25-rc1 and -rc2 something changed that produces a
few hundred sparse warnings in ni52.c.

I see Alan touched it last.

drivers/net/ni52.c:219:15: warning: incorrect type in argument 1 (different address spaces)
drivers/net/ni52.c:219:15:    expected void const volatile [noderef] <asn:2>*addr
drivers/net/ni52.c:219:15:    got unsigned char *<noident>

If you want the full log, let me know.

Harvey



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

* Re: ni52.c warnings explosion
  2008-02-21  7:26 ni52.c warnings explosion Harvey Harrison
@ 2008-02-21 10:56 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2008-02-21 10:56 UTC (permalink / raw)
  To: Harvey Harrison; +Cc: David Miller, linux-netdev

On Wed, 20 Feb 2008 23:26:24 -0800
Harvey Harrison <harvey.harrison@gmail.com> wrote:

> Dave,
> 
> Somewhere between 2.6.25-rc1 and -rc2 something changed that produces a
> few hundred sparse warnings in ni52.c.

I gave it a massive clean up but I've not annotated it
> 
> I see Alan touched it last.
> 
> drivers/net/ni52.c:219:15: warning: incorrect type in argument 1 (different address spaces)
> drivers/net/ni52.c:219:15:    expected void const volatile [noderef] <asn:2>*addr
> drivers/net/ni52.c:219:15:    got unsigned char *<noident>
> 
> If you want the full log, let me know.

Throw it my way. I'll go through it but its probably mostly about
annotating it now it uses io spaces.

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

end of thread, other threads:[~2008-02-21 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21  7:26 ni52.c warnings explosion Harvey Harrison
2008-02-21 10:56 ` Alan Cox

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