Hi Kefeng,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.11-rc3 next-20210113]
[cannot apply to soc/for-next arm/for-next linux/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    
https://github.com/0day-ci/linux/commits/Kefeng-Wang/initramfs-Provide-a-common-initrd-reserve-function/20210113-224338
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
e609571b5ffa3528bf85292de1ceaddac342bc1c
config: i386-tinyconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # 
https://github.com/0day-ci/linux/commit/1336e01e9195f537da5a004080c0cf9f265678d7
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
Kefeng-Wang/initramfs-Provide-a-common-initrd-reserve-function/20210113-224338
        git checkout 1336e01e9195f537da5a004080c0cf9f265678d7
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/microcode.h:7,
                    from arch/x86/mm/init.c:22:
>> include/linux/initrd.h:21:27: error: redefinition of 'reserve_initrd_mem'
      21 | static inline void __init reserve_initrd_mem(void) {}
         |                           ^~~~~~~~~~~~~~~~~~
   In file included from arch/x86/mm/init.c:2:
   include/linux/initrd.h:21:27: note: previous definition of 
'reserve_initrd_mem' was here
      21 | static inline void __init reserve_initrd_mem(void) {}
         |                           ^~~~~~~~~~~~~~~~~~


vim +/reserve_initrd_mem +21 include/linux/initrd.h

    17  
    18  #ifdef CONFIG_BLK_DEV_INITRD
    19  extern void __init reserve_initrd_mem(void);
    20  #else
  > 21  static inline void __init reserve_initrd_mem(void) {}
    22  #endif
    23  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

Reply via email to