* arch/x86/kernel/setup.c:145:20: warning: variable 'ima_kexec_buffer_phys' set but not used
@ 2026-07-12 21:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-12 21:59 UTC (permalink / raw)
To: Jonathan McDowell
Cc: llvm, oe-kbuild-all, linux-kernel, Borislav Petkov, Mimi Zohar
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 44696aa3a489d2baf58efa61b37833f100072bee
commit: b69a2afd5afce9bf6d56e349d6ab592c916e20f2 x86/kexec: Carry forward IMA measurement log on kexec
date: 4 years ago
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20260713/202607130528.J4hCbOF2-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project b3e6e6dabdc02153552a64fc74ff5c7532447eed)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260713/202607130528.J4hCbOF2-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Fixes: b69a2afd5afc ("x86/kexec: Carry forward IMA measurement log on kexec")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607130528.J4hCbOF2-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from <built-in>:3:
In file included from include/linux/compiler_types.h:88:
include/linux/compiler-clang.h:24:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
24 | #define __SANITIZE_ADDRESS__
| ^
<built-in>:353:9: note: previous definition is here
353 | #define __SANITIZE_ADDRESS__ 1
| ^
>> arch/x86/kernel/setup.c:145:20: warning: variable 'ima_kexec_buffer_phys' set but not used [-Wunused-but-set-global]
145 | static phys_addr_t ima_kexec_buffer_phys;
| ^
>> arch/x86/kernel/setup.c:146:15: warning: variable 'ima_kexec_buffer_size' set but not used [-Wunused-but-set-global]
146 | static size_t ima_kexec_buffer_size;
| ^
3 warnings generated.
vim +/ima_kexec_buffer_phys +145 arch/x86/kernel/setup.c
143
144 #ifdef CONFIG_IMA
> 145 static phys_addr_t ima_kexec_buffer_phys;
> 146 static size_t ima_kexec_buffer_size;
147 #endif
148
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-12 22:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-12 21:59 arch/x86/kernel/setup.c:145:20: warning: variable 'ima_kexec_buffer_phys' set but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox