[openeuler:OLK-6.6 3099/3099] mm/shmem.o: warning: objtool: .init.text: unexpected end of section
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: f1418110051edb8e47923b009bbd051f7c06ad1a commit: 8be4868c4f23d36ca7409bcd5492fb554933bb64 [3099/3099] mm: shmem: override mTHP shmem default with a kernel parameter config: loongarch-randconfig-002-20251104 (https://download.01.org/0day-ci/archive/20251105/202511051154.EI2nBnB9-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d2625a438020ad35330cda29c3def102c1687b1b) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251105/202511051154.EI2nBnB9-lkp@i...) 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/202511051154.EI2nBnB9-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from mm/shmem.c:28: In file included from include/linux/ramfs.h:5: In file included from include/linux/fs_parser.h:11: In file included from include/linux/fs_context.h:14: In file included from include/linux/security.h:33: In file included from include/linux/mm.h:2253: include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ mm/shmem.c:1654:24: warning: default initialization of an object of type 'struct vm_area_struct' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] 1654 | struct vm_area_struct pvma; | ^ include/linux/mm_types.h:629:20: note: member 'vm_flags' declared 'const' here 629 | const vm_flags_t vm_flags; | ^ mm/shmem.c:1802:24: warning: default initialization of an object of type 'struct vm_area_struct' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe] 1802 | struct vm_area_struct pvma; | ^ include/linux/mm_types.h:629:20: note: member 'vm_flags' declared 'const' here 629 | const vm_flags_t vm_flags; | ^ 3 warnings generated. mm/shmem.o: warning: objtool: shmem_enabled_store() falls through to next function thpsize_shmem_enabled_show()
mm/shmem.o: warning: objtool: .init.text: unexpected end of section
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot