From: kernel test robot <lkp@intel.com>
To: Sasha Levin <sashal@kernel.org>,
pasha.tatashin@soleen.com, rppt@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, pratyush@kernel.org,
linux-kernel@vger.kernel.org, surenb@google.com,
Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH] kexec: allow KEXEC_HANDOVER to build with COMPILE_TEST
Date: Thu, 5 Feb 2026 08:22:32 +0800 [thread overview]
Message-ID: <202602050807.0QRxP8b3-lkp@intel.com> (raw)
In-Reply-To: <20260204182816.2463931-1-sashal@kernel.org>
Hi Sasha,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.19-rc8 next-20260204]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Sasha-Levin/kexec-allow-KEXEC_HANDOVER-to-build-with-COMPILE_TEST/20260205-023202
base: linus/master
patch link: https://lore.kernel.org/r/20260204182816.2463931-1-sashal%40kernel.org
patch subject: [PATCH] kexec: allow KEXEC_HANDOVER to build with COMPILE_TEST
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260205/202602050807.0QRxP8b3-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260205/202602050807.0QRxP8b3-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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602050807.0QRxP8b3-lkp@intel.com/
All warnings (new ones prefixed by >>):
kernel/liveupdate/kexec_handover_debugfs.c: In function 'scratch_phys_show':
>> kernel/liveupdate/kexec_handover_debugfs.c:99:37: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'phys_addr_t' {aka 'unsigned int'} [-Wformat=]
99 | seq_printf(m, "0x%llx\n", kho_scratch[i].addr);
| ~~~^ ~~~~~~~~~~~~~~~~~~~
| | |
| | phys_addr_t {aka unsigned int}
| long long unsigned int
| %x
kernel/liveupdate/kexec_handover_debugfs.c: In function 'scratch_len_show':
kernel/liveupdate/kexec_handover_debugfs.c:108:37: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'phys_addr_t' {aka 'unsigned int'} [-Wformat=]
108 | seq_printf(m, "0x%llx\n", kho_scratch[i].size);
| ~~~^ ~~~~~~~~~~~~~~~~~~~
| | |
| | phys_addr_t {aka unsigned int}
| long long unsigned int
| %x
In file included from include/linux/io.h:12,
from kernel/liveupdate/kexec_handover_debugfs.c:13:
kernel/liveupdate/kexec_handover_debugfs.c: In function 'kho_in_debugfs_init':
>> arch/sh/include/asm/io.h:266:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
266 | #define phys_to_virt(address) ((void *)(address))
| ^
kernel/liveupdate/kexec_handover_debugfs.c:151:45: note: in expansion of macro 'phys_to_virt'
151 | phys_to_virt(*fdt_phys));
| ^~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CMA
Depends on [n]: MMU [=n]
Selected by [y]:
- KEXEC_HANDOVER [=y] && (ARCH_SUPPORTS_KEXEC_HANDOVER && ARCH_SUPPORTS_KEXEC_FILE || COMPILE_TEST [=y]) && (!DEFERRED_STRUCT_PAGE_INIT [=n] || COMPILE_TEST [=y])
vim +99 kernel/liveupdate/kexec_handover_debugfs.c
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 92
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 93 DEFINE_DEBUGFS_ATTRIBUTE(kho_out_finalize_fops, kho_out_finalize_get,
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 94 kho_out_finalize_set, "%llu\n");
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 95
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 96 static int scratch_phys_show(struct seq_file *m, void *v)
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 97 {
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 98 for (int i = 0; i < kho_scratch_cnt; i++)
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 @99 seq_printf(m, "0x%llx\n", kho_scratch[i].addr);
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 100
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 101 return 0;
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 102 }
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 103 DEFINE_SHOW_ATTRIBUTE(scratch_phys);
03d3963464a436 kernel/kexec_handover_debugfs.c Pasha Tatashin 2025-11-01 104
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-02-05 0:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-04 18:28 [PATCH] kexec: allow KEXEC_HANDOVER to build with COMPILE_TEST Sasha Levin
2026-02-04 22:32 ` Suren Baghdasaryan
2026-02-05 0:22 ` kernel test robot [this message]
2026-02-05 2:05 ` kernel test robot
2026-02-05 2:05 ` kernel test robot
2026-02-05 12:00 ` Mike Rapoport
2026-02-05 12:07 ` Pratyush Yadav
2026-02-05 12:05 ` kernel test robot
2026-02-06 21:52 ` [PATCH v2] " Sasha Levin
2026-02-07 7:40 ` Mike Rapoport
2026-02-07 16:06 ` Pasha Tatashin
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=202602050807.0QRxP8b3-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pasha.tatashin@soleen.com \
--cc=pratyush@kernel.org \
--cc=rppt@kernel.org \
--cc=sashal@kernel.org \
--cc=surenb@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox