[sean-jc:x86/mmu_auto_prefault 5/5] arch/x86/kvm/mmu/mmu.c:121:28: sparse: sparse: symbol 'auto_prefault_nr_pages' was not declared. Should it be static?
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/sean-jc/linux x86/mmu_auto_prefault head: 6fc4c84e91337cf4a01d62d08d10b0b5f774cd5b commit: 6fc4c84e91337cf4a01d62d08d10b0b5f774cd5b [5/5] tmp config: x86_64-randconfig-r113-20260827 (https://download.01.org/0day-ci/archive/20260827/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260827/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ sparse warnings: (new ones prefixed by >>) >> arch/x86/kvm/mmu/mmu.c:121:28: sparse: sparse: symbol 'auto_prefault_nr_pages' was not declared. Should it be static? arch/x86/kvm/mmu/mmu.c: note: in included file: arch/x86/kvm/mmu/paging_tmpl.h:106:24: sparse: sparse: cast truncates bits from constant value (ffffffffff000 becomes fffff000) arch/x86/kvm/mmu/paging_tmpl.h:451:24: sparse: sparse: cast truncates bits from constant value (ffffffffff000 becomes fffff000) arch/x86/kvm/mmu/mmu.c:5676:82: sparse: sparse: cast truncates bits from constant value (ffff5555 becomes 5555) arch/x86/kvm/mmu/mmu.c:5678:59: sparse: sparse: cast truncates bits from constant value (ffff3333 becomes 3333) arch/x86/kvm/mmu/mmu.c:5693:76: sparse: sparse: cast truncates bits from constant value (ffff0f0f becomes f0f) arch/x86/kvm/mmu/mmu.c:5693:87: sparse: sparse: cast truncates bits from constant value (ffff00ff becomes ff) arch/x86/kvm/mmu/mmu.c:5695:51: sparse: sparse: cast truncates bits from constant value (ffff00ff becomes ff) arch/x86/kvm/mmu/mmu.c:5709:70: sparse: sparse: cast truncates bits from constant value (ffff0f0f becomes f0f) arch/x86/kvm/mmu/mmu.c:5712:72: sparse: sparse: cast truncates bits from constant value (ffff00ff becomes ff) vim +/auto_prefault_nr_pages +121 arch/x86/kvm/mmu/mmu.c 120 > 121 unsigned int __read_mostly auto_prefault_nr_pages = KVM_PAGES_PER_HPAGE(PG_LEVEL_2M); 122 module_param(auto_prefault_nr_pages, uint, 0644); 123 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki