lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e513acb4-a893-8134-4853-d31bd3b87ef9@oracle.com>
Date:   Thu, 18 Jul 2019 16:13:49 +0800
From:   Zhenzhong Duan <zhenzhong.duan@...cle.com>
To:     "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc:     linux-kernel@...r.kernel.org, x86@...nel.org,
        Peter Zijlstra <peterz@...radead.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>
Subject: Re: [PATCH] x86/boot/compressed/64: Remove unused variable


On 2019/7/17 22:34, Kirill A. Shutemov wrote:
> On Tue, Jul 16, 2019 at 01:17:20PM +0000, Zhenzhong Duan wrote:
>> Fix gcc warning:
>>
>> arch/x86/boot/compressed/pgtable_64.c: In function 'find_trampoline_placement':
>> arch/x86/boot/compressed/pgtable_64.c:43:16: warning: unused variable 'trampoline_start' [-Wunused-variable]
>>    unsigned long trampoline_start;
>>                  ^
>>
>> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@...cle.com>
>> Cc: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
>> Cc: Peter Zijlstra <peterz@...radead.org>
>> Cc: Thomas Gleixner <tglx@...utronix.de>
>> Cc: Ingo Molnar <mingo@...hat.com>
>> Cc: Borislav Petkov <bp@...en8.de>
> Acked-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
>
> Have no idea why I don't see the warning in my setup.

Try below:

make bzImage EXTRA_CFLAGS="-Wunused-variable"

Zhenzhong

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ