Messages in this thread |  | | | Date | Fri, 29 Jan 2010 17:32:20 +1100 | | From | Stephen Rothwell <> | | Subject | Re: 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] |  |