[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-efi
Subject: [efi:next 21/25] include/linux/efi.h:1187:20: error: redefinition of 'efi_rt_services_supported'
From: kbuild test robot <lkp () intel ! com>
Date: 2020-01-23 14:37:37
Message-ID: 202001232221.37xZ3oTP%lkp () intel ! com
[Download RAW message or body]
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
[".config.gz" (application/gzip)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic