Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 1 Mar 2022 12:20:10 -0800 | Subject | Re: [PATCH 2/3] treewide: use -Wdeclaration-after-statement |
| |
On Tue, Mar 1, 2022 at 12:06 PM Nick Desaulniers <ndesaulniers@google.com> wrote: > > That said, there's a few additional places that reset KBUILD_CFLAGS.
Yeah, the boot code and vdso code often sets its own private flags, because it's _so_ different.
The generic kernel CFLAGS often don't work at all, because that code may be doing some truly horrendous things.
So I agree that this may not catch all the kernel code, but I don't think it's much of a problem.
Linus
| |