Hi Dave, On Thu, 28 Jan 2010 20:12:06 -0800 (PST) David Miller <davem@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgpQdXo61pkVD.pgp
Description: PGP signature