Re: [PATCH] lockdep: Quiet gcc about dangerous __builtin_return_address() operations

From: Steven Rostedt
Date: Thu Sep 08 2016 - 14:38:23 EST


On Thu, 8 Sep 2016 20:33:13 +0200
Borislav Petkov <bp@xxxxxxxxx> wrote:

> On Thu, Sep 08, 2016 at 12:34:33PM -0400, Steven Rostedt wrote:
> > [
> > Boris, does this quiet gcc for you?
> > I haven't fully tested this yet, as I still don't have a compiler
> > that does the warning.
>
> gcc 6.x should be available in your distro...

But I build kernels with distcc and gcc from the crosstools on
kernel.org, which doesn't seem to be maintained anymore :-/

Also, my distro that I test on is Fedora 20 which still has gcc 4.8.3.

> >
> > Reported-by: Borislav Petkov <bp@xxxxxxxxx>
>
> -and-tested-by: me
>
> > Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
>
> Thanks Steve!

Thanks Boris!

-- Steve