All of lore.kernel.org
 help / color / mirror / Atom feed
* [jwboyer-fedora:f31 18/98] arch/s390/kernel/kexec_image.c:63:3: error: 'const struct kexec_file_ops' has no member named 'verify_sig'
@ 2019-12-06  5:41 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-06  5:41 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git f31
head:   875ac2171d5a3a81cf97390b9d7dbaa69059a315
commit: 152d911e4f5a44f4697e500920227cd376c77aff [18/98] 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.5.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 152d911e4f5a44f4697e500920227cd376c77aff
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.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_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')
   arch/s390/kernel/kexec_image.c:63:16: warning: excess elements in struct initializer
   arch/s390/kernel/kexec_image.c:63:16: note: (near initialization for 's390_kexec_image_ops')
   cc1: some warnings being treated as errors
--
>> 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')
   arch/s390/kernel/kexec_elf.c:134:16: warning: excess elements in struct initializer
   arch/s390/kernel/kexec_elf.c:134:16: note: (near initialization for 's390_kexec_elf_ops')
   cc1: some warnings being treated as errors

vim +63 arch/s390/kernel/kexec_image.c

e49bb0a27fa3c6 Philipp Rudo 2017-08-30  58  
e49bb0a27fa3c6 Philipp Rudo 2017-08-30  59  const struct kexec_file_ops s390_kexec_image_ops = {
e49bb0a27fa3c6 Philipp Rudo 2017-08-30  60  	.probe = s390_image_probe,
e49bb0a27fa3c6 Philipp Rudo 2017-08-30  61  	.load = s390_image_load,
e23a8020ce4e09 Philipp Rudo 2019-02-26  62  #ifdef CONFIG_KEXEC_VERIFY_SIG
e23a8020ce4e09 Philipp Rudo 2019-02-26 @63  	.verify_sig = s390_verify_sig,

:::::: The code at line 63 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/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

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

only message in thread, other threads:[~2019-12-06  5:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06  5:41 [jwboyer-fedora:f31 18/98] arch/s390/kernel/kexec_image.c:63:3: error: 'const struct kexec_file_ops' has no member named 'verify_sig' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.