[efi:next 21/25] include/linux/efi.h:1187:20: error: redefinition of 'efi_rt_services_supported'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
head:   686017522420c9f70e7402f5c98c97a772a870e2
commit: 238592dfae50e90fbb9507c94a3da7e7346e624f [21/25] efi: store mask of supported runtime services in struct efi
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 238592dfae50e90fbb9507c94a3da7e7346e624f
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=nds32 

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

All errors (new ones prefixed by >>):

   In file included from init/main.c:48:
>> include/linux/efi.h:1187:20: error: redefinition of 'efi_rt_services_supported'
    1187 | static inline bool efi_rt_services_supported(unsigned int mask)
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/efi.h:954:20: note: previous definition of 'efi_rt_services_supported' was here
     954 | static inline bool efi_rt_services_supported(unsigned int mask)
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~

vim +/efi_rt_services_supported +1187 include/linux/efi.h

  1182	
  1183	static inline bool efi_soft_reserve_enabled(void)
  1184	{
  1185		return false;
  1186	}
> 1187	static inline bool efi_rt_services_supported(unsigned int mask)
  1188	{
  1189		return false;
  1190	}
  1191	#endif
  1192	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux