[ardb:efi-decompressor-v2 54/54] drivers/firmware/efi/libstub/zboot-header.S:26:2: error: #error

From: kernel test robot
Date: Sat May 07 2022 - 06:59:26 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-decompressor-v2
head: 544dc8b63197f7556a1fedba73aef92081257895
commit: 544dc8b63197f7556a1fedba73aef92081257895 [54/54] fixup! efi: stub: implement generic EFI zboot
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20220507/202205071806.AV3wjnoe-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=544dc8b63197f7556a1fedba73aef92081257895
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb efi-decompressor-v2
git checkout 544dc8b63197f7556a1fedba73aef92081257895
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> drivers/firmware/efi/libstub/zboot-header.S:26:2: error: #error
26 | #error
| ^~~~~


vim +26 drivers/firmware/efi/libstub/zboot-header.S

16
17 .section ".head", "a"
18 .globl __efistub_efi_zboot_header
19 __efistub_efi_zboot_header:
20 .Ldoshdr:
21 .long MZ_MAGIC
22 .org .Ldoshdr + 0x38
23 #if defined(CONFIG_ARM64)
24 .ascii "ARM\x64"
25 #else
> 26 #error
27 #endif
28 .long .Lpehdr - .Ldoshdr
29

--
0-DAY CI Kernel Test Service
https://01.org/lkp