CC: [email protected] CC: [email protected] TO: Christophe Leroy <[email protected]> CC: Michael Ellerman <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: abfbb29297c27e3f101f348dc9e467b0fe70f919 commit: 793b08e2efff3ec020c5c5861d00ed394fcdd488 powerpc/kexec: Move kexec files into a dedicated subdir. date: 7 months ago :::::: branch date: 6 hours ago :::::: commit date: 7 months ago config: powerpc-randconfig-m031-20200607 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> New smatch warnings: arch/powerpc/kexec/core.c:72 arch_crash_save_vmcoreinfo() warn: argument 3 to %lx specifier is cast from pointer Old smatch warnings: arch/powerpc/kexec/core.c:79 arch_crash_save_vmcoreinfo() warn: argument 3 to %lx specifier is cast from pointer arch/powerpc/kexec/core.c:80 arch_crash_save_vmcoreinfo() warn: argument 3 to %lx specifier is cast from pointer arch/powerpc/kexec/core.c:81 arch_crash_save_vmcoreinfo() warn: argument 3 to %lx specifier is cast from pointer # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=793b08e2efff3ec020c5c5861d00ed394fcdd488 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git remote update linus git checkout 793b08e2efff3ec020c5c5861d00ed394fcdd488 vim +72 arch/powerpc/kexec/core.c 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 70 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 71 #ifdef CONFIG_NEED_MULTIPLE_NODES 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 @72 VMCOREINFO_SYMBOL(node_data); 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 73 VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 74 #endif 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 75 #ifndef CONFIG_NEED_MULTIPLE_NODES 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 76 VMCOREINFO_SYMBOL(contig_page_data); 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 77 #endif 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 78 #if defined(CONFIG_PPC64) && defined(CONFIG_SPARSEMEM_VMEMMAP) 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 79 VMCOREINFO_SYMBOL(vmemmap_list); 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 80 VMCOREINFO_SYMBOL(mmu_vmemmap_psize); 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 81 VMCOREINFO_SYMBOL(mmu_psize_defs); 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 82 VMCOREINFO_STRUCT_SIZE(vmemmap_backing); 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 83 VMCOREINFO_OFFSET(vmemmap_backing, list); 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 84 VMCOREINFO_OFFSET(vmemmap_backing, phys); 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 85 VMCOREINFO_OFFSET(vmemmap_backing, virt_addr); 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 86 VMCOREINFO_STRUCT_SIZE(mmu_psize_def); 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 87 VMCOREINFO_OFFSET(mmu_psize_def, shift); 8ff812719ac73e arch/powerpc/kernel/machine_kexec.c Hari Bathini 2013-11-15 88 #endif 74277f00b23263 arch/powerpc/kernel/machine_kexec.c Jason Yan 2019-09-20 89 vmcoreinfo_append_str("KERNELOFFSET=%lx\n", kaslr_offset()); 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 90 } 67238fb7216390 arch/powerpc/kernel/machine_kexec.c Neil Horman 2010-07-13 91 :::::: The code at line 72 was first introduced by commit :::::: 67238fb721639046b5d76488317522af4ece9d61 powerpc: Add vmcoreinfo symbols to allow makdumpfile to filter core files properly :::::: TO: Neil Horman <[email protected]> :::::: CC: Benjamin Herrenschmidt <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
