* [openeuler:OLK-5.10 2759/2759] mm/hugetlb_vmemmap.c:352 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : hugetlb_vmemmap_sysctls[1]->procname
@ 2025-02-22 5:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-22 5:55 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: kernel@openeuler.org
TO: Zheng Zengkai <zhengzengkai@huawei.com>
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 4d88bf76198b8a462646f7be261586ebb2bbf5f3
commit: 6b2239c22b56bddcdefd09fd58b6672f2b1f1566 [2759/2759] mm: hugetlb_vmemmap: add hugetlb_optimize_vmemmap sysctl
:::::: branch date: 27 hours ago
:::::: commit date: 2 years, 7 months ago
config: x86_64-randconfig-161-20250222 (https://download.01.org/0day-ci/archive/20250222/202502221344.WRaa1GPQ-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202502221344.WRaa1GPQ-lkp@intel.com/
smatch warnings:
mm/hugetlb_vmemmap.c:352 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : hugetlb_vmemmap_sysctls[1]->procname
mm/hugetlb_vmemmap.c:352 (null)() warn: (struct ctl_table)->proc_handler cannot be NULL. Expression : hugetlb_vmemmap_sysctls[1]->proc_handler
vim +352 mm/hugetlb_vmemmap.c
6b2239c22b56bd Muchun Song 2022-07-28 351
6b2239c22b56bd Muchun Song 2022-07-28 @352 static struct ctl_table hugetlb_vmemmap_sysctls[] = {
6b2239c22b56bd Muchun Song 2022-07-28 353 {
6b2239c22b56bd Muchun Song 2022-07-28 354 .procname = "hugetlb_optimize_vmemmap",
6b2239c22b56bd Muchun Song 2022-07-28 355 .maxlen = sizeof(enum vmemmap_optimize_mode),
6b2239c22b56bd Muchun Song 2022-07-28 356 .mode = 0644,
6b2239c22b56bd Muchun Song 2022-07-28 357 .proc_handler = hugetlb_optimize_vmemmap_handler,
6b2239c22b56bd Muchun Song 2022-07-28 358 .extra1 = SYSCTL_ZERO,
6b2239c22b56bd Muchun Song 2022-07-28 359 .extra2 = SYSCTL_ONE,
6b2239c22b56bd Muchun Song 2022-07-28 360 },
6b2239c22b56bd Muchun Song 2022-07-28 361 { }
6b2239c22b56bd Muchun Song 2022-07-28 362 };
6b2239c22b56bd Muchun Song 2022-07-28 363
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-02-22 5:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-22 5:55 [openeuler:OLK-5.10 2759/2759] mm/hugetlb_vmemmap.c:352 (null)() warn: (struct ctl_table)->procname cannot be NULL. Expression : hugetlb_vmemmap_sysctls[1]->procname kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.