mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [openeuler:openEuler-1.0-LTS 1341/1341] mm/sparse.o: warning: objtool: missing symbol for section .init.text
@ 2024-12-20 21:38 kernel test robot
  2024-12-21  1:17 ` Philip Li
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-12-20 21:38 UTC (permalink / raw)
  To: kernel, Linus Torvalds; +Cc: oe-kbuild-all, LKML

tree:   https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head:   02951ceaa6d546dfa0f741f52f6d47e0fb0ac7b4
commit: 2a3cb8baef71e4dad4a6ec17f5f0db9e05f46a01 [1341/1341] mm/sparse: delete old sparse_init and enable new one
config: x86_64-buildonly-randconfig-006-20241220 (https://download.01.org/0day-ci/archive/20241221/202412210532.I31r9MaS-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/20241221/202412210532.I31r9MaS-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/202412210532.I31r9MaS-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/sparse.o: warning: objtool: missing symbol for section .init.text

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [openeuler:openEuler-1.0-LTS 1341/1341] mm/sparse.o: warning: objtool: missing symbol for section .init.text
  2024-12-20 21:38 [openeuler:openEuler-1.0-LTS 1341/1341] mm/sparse.o: warning: objtool: missing symbol for section .init.text kernel test robot
@ 2024-12-21  1:17 ` Philip Li
  0 siblings, 0 replies; 2+ messages in thread
From: Philip Li @ 2024-12-21  1:17 UTC (permalink / raw)
  To: kernel test robot; +Cc: kernel, Linus Torvalds, oe-kbuild-all, LKML

On Sat, Dec 21, 2024 at 05:38:14AM +0800, kernel test robot wrote:
> tree:   https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
> head:   02951ceaa6d546dfa0f741f52f6d47e0fb0ac7b4
> commit: 2a3cb8baef71e4dad4a6ec17f5f0db9e05f46a01 [1341/1341] mm/sparse: delete old sparse_init and enable new one
> config: x86_64-buildonly-randconfig-006-20241220 (https://download.01.org/0day-ci/archive/20241221/202412210532.I31r9MaS-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/20241221/202412210532.I31r9MaS-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/202412210532.I31r9MaS-lkp@intel.com/
> 
> All warnings (new ones prefixed by >>):

Sorry about this report, it should only be sent to openeuler mailing list, I wil
fix the bot to resolve this asap.

Thanks

> 
>    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/sparse.o: warning: objtool: missing symbol for section .init.text
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-21  1:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-20 21:38 [openeuler:openEuler-1.0-LTS 1341/1341] mm/sparse.o: warning: objtool: missing symbol for section .init.text kernel test robot
2024-12-21  1:17 ` Philip Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®