lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201802282319.fOYokfow%fengguang.wu@intel.com>
Date:   Wed, 28 Feb 2018 23:37:10 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Philipp Rudo <prudo@...ux.vnet.ibm.com>
Cc:     kbuild-all@...org, kexec@...ts.infradead.org,
        linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
        Eric Biederman <ebiederm@...ssion.com>,
        Vivek Goyal <vgoyal@...hat.com>,
        Michael Ellerman <mpe@...erman.id.au>,
        Thiago Jung Bauermann <bauerman@...ux.vnet.ibm.com>,
        Martin Schwidefsky <schwidefsky@...ibm.com>,
        Heiko Carstens <heiko.carstens@...ibm.com>,
        Andrew Morton <akpm@...ux-foundation.org>, x86@...nel.org,
        Dave Young <dyoung@...hat.com>,
        AKASHI Takahiro <takahiro.akashi@...aro.org>
Subject: Re: [PATCH 05/11] kexec_file: Use read-only sections in
 arch_kexec_apply_relocations*

Hi Philipp,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v4.16-rc3 next-20180228]
[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/Philipp-Rudo/kexec_file-Clean-up-purgatory-load/20180228-223538
config: i386-randconfig-a0-201808 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from include/linux/crash_dump.h:5:0,
                    from drivers/scsi/aacraid/commsup.c:36:
>> include/linux/kexec.h:296:10: warning: 'struct purgatory_info' declared inside parameter list
             const Elf_Shdr *symtab);
             ^
>> include/linux/kexec.h:296:10: warning: its scope is only this definition or declaration, which is probably not what you want
   include/linux/kexec.h:300:6: warning: 'struct purgatory_info' declared inside parameter list
         const Elf_Shdr *symtab);
         ^

vim +296 include/linux/kexec.h

   286	
   287	int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf,
   288						 unsigned long buf_len);
   289	void * __weak arch_kexec_kernel_image_load(struct kimage *image);
   290	int __weak arch_kimage_file_post_load_cleanup(struct kimage *image);
   291	int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf,
   292						unsigned long buf_len);
   293	int __weak arch_kexec_apply_relocations_add(struct purgatory_info *pi,
   294						    Elf_Shdr *section,
   295						    const Elf_Shdr *relsec,
 > 296						    const Elf_Shdr *symtab);
   297	int __weak arch_kexec_apply_relocations(struct purgatory_info *pi,
   298						Elf_Shdr *section,
   299						const Elf_Shdr *relsec,
   300						const Elf_Shdr *symtab);
   301	void arch_kexec_protect_crashkres(void);
   302	void arch_kexec_unprotect_crashkres(void);
   303	

---
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" (29777 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ