Re: [PATCH] Kbuild: Disable the -Wformat-security gcc flag

From: Sam Ravnborg
Date: Sun Jun 14 2009 - 16:47:55 EST


On Fri, May 15, 2009 at 03:28:18PM +0200, Floris Kraak wrote:
> On 5/15/09, Pekka Enberg <penberg@xxxxxxxxxxxxxx> wrote:
> >
> > On Wed, Feb 4, 2009 at 5:28 PM, Floris Kraak <randakar@xxxxxxxxx> wrote:
> > > Some distributions have enabled the gcc flag -Wformat-security by default.*
> > > This results in a number of warnings about format arguments to
> > > functions, sometimes in cases where fixing the warning is not likely
> > > to actually fix a bug.
> > > Instead of hand patching a dozens of places (possibly more) that
> > > produce warnings that get ignored anyway we just turn off the flag in
> > > the Makefile.
> > >
> >
> > Is there a reason this patch was not merged? Yes, it's clearly a
> > distro problem but apparently there's no easy way to turn it off.
> >

I have lost the original patch to disable this check.
Could you please resend.

Thanks,
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/