[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250701152953.GCaGP-8bWPmRWI10Ec@fat_crate.local>
Date: Tue, 1 Jul 2025 17:29:53 +0200
From: Borislav Petkov <bp@...en8.de>
To: Nathan Chancellor <nathan@...nel.org>
Cc: kernel test robot <lkp@...el.com>, Nikunj A Dadhania <nikunj@....com>,
llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, x86@...nel.org
Subject: Re: [tip:x86/urgent 1/1] arch/x86/coco/sev/core.c:2170:30: warning:
variable 'dummy' set but not used
On Tue, Jul 01, 2025 at 08:06:44AM -0700, Nathan Chancellor wrote:
> Citation needed. This reproduces with Clang 15 (earliest supported on
> x86 now), Clang 19, and GCC 15 for me. Were you missing W=1?
Nope.
$ git checkout -b test 4a35d2b5254af89595fd90dae9ee0c8f990a148d
Switched to a new branch 'test'
$ make CC=clang-19 HOSTCC=clang-19 W=1 arch/x86/coco/sev/core.o
...
LINK /mnt/kernel/kernel/linux/tools/objtool/objtool
CC arch/x86/coco/sev/core.o
$ clang-19 --version
Debian clang version 19.1.7 (1+b1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-19/bin
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists