lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202101140946.6tIupH21-lkp@intel.com>
Date:   Thu, 14 Jan 2021 09:16:17 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kefeng Wang <wangkefeng.wang@...wei.com>,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        linux-riscv@...ts.infradead.org,
        Russell King <linux@...linux.org.uk>, palmerdabbelt@...gle.com,
        Atish Patra <atish.patra@....com>
Cc:     kbuild-all@...ts.01.org, Palmer Dabbelt <palmer@...belt.com>,
        guoren@...nel.org, Paul Walmsley <paul.walmsley@...ive.com>,
        Kefeng Wang <wangkefeng.wang@...wei.com>
Subject: Re: [PATCH] initramfs: Provide a common initrd reserve function

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 <lkp@...el.com>

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/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (7320 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ