Re: [PATCH] mm/sparse.c: mark populate_section_memmap as __meminit

From: kbuild test robot
Date: Wed Oct 30 2019 - 02:43:34 EST

Hi Ilya,

I love your patch! Perhaps something to improve:

[auto build test WARNING on mmotm/master]

base: git:// master
config: sh-allnoconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 7.4.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=sh

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> WARNING: vmlinux.o(.meminit.text+0x153c): Section mismatch in reference from the function __populate_section_memmap() to the function .init.text:memblock_alloc_try_nid()
The function __meminit __populate_section_memmap() references
a function __init memblock_alloc_try_nid().
If memblock_alloc_try_nid is only used by __populate_section_memmap then
annotate memblock_alloc_try_nid with a matching annotation.

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip