[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201702010134.sSKjHBwJ%fengguang.wu@intel.com>
Date: Wed, 1 Feb 2017 01:37:26 +0800
From: kbuild test robot <lkp@...el.com>
To: David Howells <dhowells@...hat.com>
Cc: kbuild-all@...org, matt@...eblueprint.co.uk,
ard.biesheuvel@...aro.org, linux-efi@...r.kernel.org,
linux-kernel@...r.kernel.org, dhowells@...hat.com,
linux-security-module@...r.kernel.org, keyrings@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 4/7] efi: Get the secure boot status [ver #7]
Hi David,
[auto build test ERROR on efi/next]
[also build test ERROR on v4.10-rc6 next-20170130]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/David-Howells/efi-Pass-secure-boot-mode-to-kernel-ver-7/20170131-232202
base: https://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git next
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
In file included from drivers/firmware/efi/libstub/secureboot.c:15:0:
drivers/firmware/efi/libstub/secureboot.c: In function 'efi_get_secureboot':
>> arch/arm/include/asm/efi.h:58:34: error: called object is not a function or function pointer
#define efi_call_runtime(f, ...) sys_table_arg->runtime->f(__VA_ARGS__)
^
drivers/firmware/efi/libstub/secureboot.c:27:2: note: in expansion of macro 'efi_call_runtime'
efi_call_runtime(get_variable, \
^~~~~~~~~~~~~~~~
drivers/firmware/efi/libstub/secureboot.c:41:11: note: in expansion of macro 'get_efi_var'
status = get_efi_var(efi_SecureBoot_name, &efi_variable_guid,
^~~~~~~~~~~
>> arch/arm/include/asm/efi.h:58:34: error: called object is not a function or function pointer
#define efi_call_runtime(f, ...) sys_table_arg->runtime->f(__VA_ARGS__)
^
drivers/firmware/efi/libstub/secureboot.c:27:2: note: in expansion of macro 'efi_call_runtime'
efi_call_runtime(get_variable, \
^~~~~~~~~~~~~~~~
drivers/firmware/efi/libstub/secureboot.c:47:11: note: in expansion of macro 'get_efi_var'
status = get_efi_var(efi_SetupMode_name, &efi_variable_guid,
^~~~~~~~~~~
vim +58 arch/arm/include/asm/efi.h
da58fb657 Ard Biesheuvel 2015-09-24 52 #endif /* CONFIG_EFI */
da58fb657 Ard Biesheuvel 2015-09-24 53
81a0bc39e Roy Franz 2015-09-23 54 /* arch specific definitions used by the stub code */
81a0bc39e Roy Franz 2015-09-23 55
81a0bc39e Roy Franz 2015-09-23 56 #define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__)
fc3720642 Ard Biesheuvel 2016-04-25 57 #define __efi_call_early(f, ...) f(__VA_ARGS__)
2fb88d885 David Howells 2017-01-31 @58 #define efi_call_runtime(f, ...) sys_table_arg->runtime->f(__VA_ARGS__)
fc3720642 Ard Biesheuvel 2016-04-25 59 #define efi_is_64bit() (false)
81a0bc39e Roy Franz 2015-09-23 60
3552fdf29 Lukas Wunner 2016-11-12 61 #define efi_call_proto(protocol, f, instance, ...) \
:::::: The code at line 58 was first introduced by commit
:::::: 2fb88d8858497455db948de0d2488b35ef2bd874 arm/efi: Allow invocation of arbitrary runtime services [ver #7]
:::::: TO: David Howells <dhowells@...hat.com>
:::::: CC: 0day robot <fengguang.wu@...el.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (39268 bytes)
Powered by blists - more mailing lists