[akpm-mm:mm-unstable 78/111] mm/hugetlb.c:66:26: sparse: sparse: symbol 'hstate_boot_nrinvalid' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   f5604ad70091eabe663ea7106ced99449d653320
commit: d1feef9effa479261c600b78dd0e1a83e730c0d8 [78/111] mm/hugetlb: check bootmem pages for zone intersections
config: x86_64-randconfig-122-20250201 (https://download.01.org/0day-ci/archive/20250201/202502010728.A5WFMTpS-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250201/202502010728.A5WFMTpS-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/202502010728.A5WFMTpS-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> mm/hugetlb.c:66:26: sparse: sparse: symbol 'hstate_boot_nrinvalid' was not declared. Should it be static?
   mm/hugetlb.c:672:12: sparse: sparse: context imbalance in 'allocate_file_region_entries' - wrong count at exit
   mm/hugetlb.c:743:13: sparse: sparse: context imbalance in 'region_add' - wrong count at exit
   mm/hugetlb.c:810:13: sparse: sparse: context imbalance in 'region_chg' - wrong count at exit
   mm/hugetlb.c:5606:24: sparse: sparse: self-comparison always evaluates to false
   mm/hugetlb.c:6051:9: sparse: sparse: context imbalance in 'hugetlb_wp' - unexpected unlock

vim +/hstate_boot_nrinvalid +66 mm/hugetlb.c

    64	
    65	__initdata struct list_head huge_boot_pages[MAX_NUMNODES];
  > 66	__initdata unsigned long hstate_boot_nrinvalid[HUGE_MAX_HSTATE];
    67	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux