* arch/loongarch/kernel/vmcore_info.c:16 arch_crash_save_vmcoreinfo() warn: argument 2 to %lx specifier is cast from pointer
@ 2026-11-09 9:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-09 9:35 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
Unfiltered warning: this smatch report is sent as-is and has not been
reviewed for false positives, so please treat it with due skepticism.
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Yangyang Lian <lianyangyang@kylinos.cn>
CC: Huacai Chen <chenhuacai@kernel.org>
CC: George Guo <guodongtai@kylinos.cn>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7475ea8b58616b33c04afb976cf0fbaad9dd63fb
commit: 2a5ec3a553f7b23359344d52332263d5fa88aac6 LoongArch: Add arch_crash_save_vmcoreinfo() support
date: 13 days ago
:::::: branch date: 9 hours ago
:::::: commit date: 13 days ago
config: loongarch-randconfig-2200-20261109 (https://download.01.org/0day-ci/archive/20261109/202611091008.qt59ZzAc-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 16.2.0
smatch: v0.5.0-9187-g5189e3fb
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: 2a5ec3a553f7 ("LoongArch: Add arch_crash_save_vmcoreinfo() support")
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202611091008.qt59ZzAc-lkp@intel.com/
smatch warnings:
arch/loongarch/kernel/vmcore_info.c:16 arch_crash_save_vmcoreinfo() warn: argument 2 to %lx specifier is cast from pointer
vim +16 arch/loongarch/kernel/vmcore_info.c
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 7
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 8 void arch_crash_save_vmcoreinfo(void)
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 9 {
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 10 VMCOREINFO_NUMBER(VA_BITS);
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 11 /* NUMBER(VMALLOC_START) is exported by the generic code */
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 12 vmcoreinfo_append_str("NUMBER(VMALLOC_END)=0x%lx\n", VMALLOC_END);
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 13 #ifdef CONFIG_64BIT
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 14 vmcoreinfo_append_str("NUMBER(MODULES_VADDR)=0x%lx\n", MODULES_VADDR);
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 15 vmcoreinfo_append_str("NUMBER(MODULES_END)=0x%lx\n", MODULES_END);
2a5ec3a553f7b23 Yangyang Lian 2026-10-27 @16 vmcoreinfo_append_str("NUMBER(VMEMMAP_START)=0x%lx\n", (unsigned long)vmemmap);
--
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-11-09 9:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-09 9:35 arch/loongarch/kernel/vmcore_info.c:16 arch_crash_save_vmcoreinfo() warn: argument 2 to %lx specifier is cast from pointer kernel test robot
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.