From: kernel test robot <lkp@intel.com>
To: Jonathan McDowell <noodles@fb.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-kernel@vger.kernel.org, Borislav Petkov <bp@suse.de>,
Mimi Zohar <zohar@linux.ibm.com>
Subject: arch/x86/kernel/setup.c:145:20: warning: variable 'ima_kexec_buffer_phys' set but not used
Date: Mon, 13 Jul 2026 05:59:44 +0800 [thread overview]
Message-ID: <202607130528.J4hCbOF2-lkp@intel.com> (raw)
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
reply other threads:[~2026-07-12 22:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202607130528.J4hCbOF2-lkp@intel.com \
--to=lkp@intel.com \
--cc=bp@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=noodles@fb.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=zohar@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.