Re: [PATCH v2] x86/boot/KASLR: Fix unused variable warning
From: Zhenzhong Duan
Date: Thu Jan 09 2020 - 21:09:53 EST
On Fri, Jan 10, 2020 at 4:50 AM Borislav Petkov <bp@xxxxxxxxx> wrote:
>
> Drop fanc.fnst@xxxxxxxxxxxxxx from Cc because it bounces.
>
> On Thu, Jan 09, 2020 at 03:46:41PM -0500, Arvind Sankar wrote:
> > The boot/compressed Makefile resets KBUILD_CFLAGS. Following hack and
> > building with W=1 shows it, or just add -Wunused in there.
>
> I'm interested in how he reproduced it on the stock tree, without
> additional hacks or changes.
I indeed used additional parameters as below for daily build.
# make O=/build/kernel/ -j4 EXTRA_CFLAGS=-Wall binrpm-pkg
Regards
Zhenzhong