From: kernel test robot <lkp@intel.com>
To: Frank van der Linden <fvdl@google.com>
Cc: oe-kbuild-all@lists.linux.dev,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [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: Sat, 1 Feb 2025 07:15:45 +0800 [thread overview]
Message-ID: <202502010728.A5WFMTpS-lkp@intel.com> (raw)
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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502010728.A5WFMTpS-lkp@intel.com/
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
next reply other threads:[~2025-01-31 23:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-31 23:15 kernel test robot [this message]
2025-02-01 19:45 ` Frank van der Linden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202502010728.A5WFMTpS-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=fvdl@google.com \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox