Hi Jim, kernel test robot noticed the following build warnings: [auto build test WARNING on kvm/queue] [also build test WARNING on linus/master v6.10-rc5 next-20240625] [cannot apply to kvm/linux-next] [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/Jim-Mattson/KVM-x86-Complain-about-an-attempt-to-change-the-APIC-base-address/20240625-181629 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue patch link: https://lore.kernel.org/r/20240621224946.4083742-1-jmattson%40google.com patch subject: [PATCH] KVM: x86: Complain about an attempt to change the APIC base address config: i386-randconfig-141-20240626 (https://download.01.org/0day-ci/archive/20240626/202406260523.KaaWyitN-lkp@xxxxxxxxx/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240626/202406260523.KaaWyitN-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202406260523.KaaWyitN-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from include/asm-generic/bug.h:22, from arch/x86/include/asm/bug.h:87, from include/linux/bug.h:5, from include/linux/alloc_tag.h:8, from include/linux/percpu.h:5, from include/linux/context_tracking_state.h:5, from include/linux/hardirq.h:5, from include/linux/kvm_host.h:7, from arch/x86/kvm/lapic.c:20: arch/x86/kvm/lapic.c: In function 'kvm_lapic_set_base': include/linux/kern_levels.h:5:25: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/printk.h:436:25: note: in definition of macro 'printk_index_wrap' 436 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ include/linux/printk.h:658:17: note: in expansion of macro 'printk' 658 | printk(fmt, ##__VA_ARGS__); \ | ^~~~~~ include/linux/printk.h:672:9: note: in expansion of macro 'printk_ratelimited' 672 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH' 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ include/linux/printk.h:672:28: note: in expansion of macro 'KERN_ERR' 672 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ include/linux/kvm_host.h:855:9: note: in expansion of macro 'pr_err_ratelimited' 855 | pr_err_ratelimited("kvm [%i]: " fmt, \ | ^~~~~~~~~~~~~~~~~~ include/linux/kvm_host.h:860:9: note: in expansion of macro 'kvm_pr_unimpl' 860 | kvm_pr_unimpl("vcpu%i, guest rIP: 0x%lx " fmt, \ | ^~~~~~~~~~~~~ arch/x86/kvm/lapic.c:2586:17: note: in expansion of macro 'vcpu_unimpl' 2586 | vcpu_unimpl(vcpu, "APIC base %#llx is not %#llx", | ^~~~~~~~~~~ >> include/linux/kern_levels.h:5:25: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/printk.h:436:25: note: in definition of macro 'printk_index_wrap' 436 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ include/linux/printk.h:658:17: note: in expansion of macro 'printk' 658 | printk(fmt, ##__VA_ARGS__); \ | ^~~~~~ include/linux/printk.h:672:9: note: in expansion of macro 'printk_ratelimited' 672 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~ include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH' 11 | #define KERN_ERR KERN_SOH "3" /* error conditions */ | ^~~~~~~~ include/linux/printk.h:672:28: note: in expansion of macro 'KERN_ERR' 672 | printk_ratelimited(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~ include/linux/kvm_host.h:855:9: note: in expansion of macro 'pr_err_ratelimited' 855 | pr_err_ratelimited("kvm [%i]: " fmt, \ | ^~~~~~~~~~~~~~~~~~ include/linux/kvm_host.h:860:9: note: in expansion of macro 'kvm_pr_unimpl' 860 | kvm_pr_unimpl("vcpu%i, guest rIP: 0x%lx " fmt, \ | ^~~~~~~~~~~~~ arch/x86/kvm/lapic.c:2586:17: note: in expansion of macro 'vcpu_unimpl' 2586 | vcpu_unimpl(vcpu, "APIC base %#llx is not %#llx", | ^~~~~~~~~~~ vim +5 include/linux/kern_levels.h 314ba3520e513a Joe Perches 2012-07-30 4 04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */ 04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001' 04d2c8c83d0e3a Joe Perches 2012-07-30 7 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki