lkml.org 
[lkml]   [2010]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateFri, 29 Jan 2010 17:32:20 +1100
FromStephen Rothwell <>
SubjectRe: linux-next: sparc tree build warning
Hi Dave,

On Thu, 28 Jan 2010 20:12:06 -0800 (PST) David Miller <davem@davemloft.net> wrote:
>
> Simply ignore the warning then, I thought you were reporting
> a build failure.

No worries, I just report warnings in case noone else notices them. And
in case they are important.

> Looking at the specific case of net/core/pktgen.c:867
>
> "len" is variable in the net/core/pktgen.c line that emits the
> warning
>
> Even though it is limited to "sizeof(name) - 1" via strn_len()'s
> third argument, that's a lot to expect the compiler to dig into
> and be able to conclude invariants from.

Yeah, indeed. We need an intuitive compiler :-)

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2010-01-29 07:35    [from the cache]
©2003-2010