Linux-EFI Archive on lore.kernel.org
 help / color / Atom feed
* [efi:next 21/25] include/linux/efi.h:1187:20: error: redefinition of 'efi_rt_services_supported'
@ 2020-01-23 14:37 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-23 14:37 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: kbuild-all, linux-efi

[-- Attachment #1: Type: text/plain, Size: 1722 bytes --]

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@intel.com>

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@lists.01.org Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 10731 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-23 14:37 [efi:next 21/25] include/linux/efi.h:1187:20: error: redefinition of 'efi_rt_services_supported' kbuild test robot

Linux-EFI Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-efi/0 linux-efi/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-efi linux-efi/ https://lore.kernel.org/linux-efi \
		linux-efi@vger.kernel.org
	public-inbox-index linux-efi

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-efi


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git