Re: [PATCH v5 1/5] mm: fix prototype warning from kernel test robot

2021-01-22 Thread David Hildenbrand
On 22.01.21 14:59, Baoquan He wrote: > Kernel test robot calling make with 'W=1' is triggering warning like > below for memmap_init_zone() function. > > mm/page_alloc.c:6259:23: warning: no previous prototype for > 'memmap_init_zone' [-Wmissing-prototypes] > 6259 | void __meminit __weak

[PATCH v5 1/5] mm: fix prototype warning from kernel test robot

2021-01-22 Thread Baoquan He
Kernel test robot calling make with 'W=1' is triggering warning like below for memmap_init_zone() function. mm/page_alloc.c:6259:23: warning: no previous prototype for 'memmap_init_zone' [-Wmissing-prototypes] 6259 | void __meminit __weak memmap_init_zone(unsigned long size, int nid, |