[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100129173220.abdd823d.sfr@canb.auug.org.au>
Date: Fri, 29 Jan 2010 17:32:20 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: David Miller <davem@...emloft.net>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: sparc tree build warning
Hi Dave,
On Thu, 28 Jan 2010 20:12:06 -0800 (PST) David Miller <davem@...emloft.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@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists