tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS head: 8fbcff0074ff9f93ea927547e99e1dde27ddc7c5 commit: 2a3cb8baef71e4dad4a6ec17f5f0db9e05f46a01 [1336/1336] mm/sparse: delete old sparse_init and enable new one config: x86_64-buildonly-randconfig-001-20241219 (https://download.01.org/0day-ci/archive/20241220/202412200657.MNv3HQPe-lkp@i...) 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/20241220/202412200657.MNv3HQPe-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/202412200657.MNv3HQPe-lkp@intel.com/
All warnings (new ones prefixed by >>):
mm/sparse.c: In function 'sparse_init_nid': mm/sparse.c:199:27: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 199 | ((section_nr >= 0) && \ | ^~ mm/sparse.c:461:9: note: in expansion of macro 'for_each_present_section_nr' 461 | for_each_present_section_nr(pnum_begin, pnum) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/sparse.c:199:27: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 199 | ((section_nr >= 0) && \ | ^~ mm/sparse.c:480:9: note: in expansion of macro 'for_each_present_section_nr' 480 | for_each_present_section_nr(pnum_begin, pnum) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/sparse.c: In function 'sparse_init': mm/sparse.c:199:27: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 199 | ((section_nr >= 0) && \ | ^~ mm/sparse.c:503:9: note: in expansion of macro 'for_each_present_section_nr' 503 | for_each_present_section_nr(pnum_begin + 1, pnum_end) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
mm/.tmp_sparse.o: warning: objtool: missing symbol for section .init.text