* [security:next-lockdown 8/29] arch/s390/kernel/kexec_elf.c:134:3: error: 'const struct kexec_file_ops' has no member named 'verify_sig'
@ 2019-08-10 8:27 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-08-10 8:27 UTC (permalink / raw)
To: Jiri Bohac
Cc: kbuild-all, linux-security-module, James Morris, David Howells,
Matthew Garrett, Dave Young
[-- Attachment #1: Type: text/plain, Size: 2790 bytes --]
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/jmorris/linux-security.git next-lockdown
head: 05ef41e93e1a40d6b2d9846284824ec6f67fe422
commit: 47b888368923ec6ccd96c6a654250867def4a2c4 [8/29] kexec_file: split KEXEC_VERIFY_SIG into KEXEC_SIG and KEXEC_SIG_FORCE
config: s390-allmodconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 7.4.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 47b888368923ec6ccd96c6a654250867def4a2c4
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/s390/kernel/kexec_elf.c:134:3: error: 'const struct kexec_file_ops' has no member named 'verify_sig'
.verify_sig = s390_verify_sig,
^~~~~~~~~~
>> arch/s390/kernel/kexec_elf.c:134:16: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
.verify_sig = s390_verify_sig,
^~~~~~~~~~~~~~~
arch/s390/kernel/kexec_elf.c:134:16: note: (near initialization for 's390_kexec_elf_ops')
cc1: some warnings being treated as errors
--
>> arch/s390/kernel/kexec_image.c:63:3: error: 'const struct kexec_file_ops' has no member named 'verify_sig'
.verify_sig = s390_verify_sig,
^~~~~~~~~~
>> arch/s390/kernel/kexec_image.c:63:16: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
.verify_sig = s390_verify_sig,
^~~~~~~~~~~~~~~
arch/s390/kernel/kexec_image.c:63:16: note: (near initialization for 's390_kexec_image_ops')
cc1: some warnings being treated as errors
vim +134 arch/s390/kernel/kexec_elf.c
8be01882715466 Philipp Rudo 2017-09-11 129
8be01882715466 Philipp Rudo 2017-09-11 130 const struct kexec_file_ops s390_kexec_elf_ops = {
8be01882715466 Philipp Rudo 2017-09-11 131 .probe = s390_elf_probe,
8be01882715466 Philipp Rudo 2017-09-11 132 .load = s390_elf_load,
e23a8020ce4e09 Philipp Rudo 2019-02-26 133 #ifdef CONFIG_KEXEC_VERIFY_SIG
e23a8020ce4e09 Philipp Rudo 2019-02-26 @134 .verify_sig = s390_verify_sig,
:::::: The code at line 134 was first introduced by commit
:::::: e23a8020ce4e094e10d717d39a8ce799243bf8c1 s390/kexec_file: Signature verification prototype
:::::: TO: Philipp Rudo <prudo@linux.ibm.com>
:::::: CC: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 55330 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-10 8:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-10 8:27 [security:next-lockdown 8/29] arch/s390/kernel/kexec_elf.c:134:3: error: 'const struct kexec_file_ops' has no member named 'verify_sig' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).