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>] [day] [month] [year] [list]
Message-ID: <202210181325.uvMac2Ri-lkp@intel.com>
Date:   Tue, 18 Oct 2022 13:29:50 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ard Biesheuvel <ardb@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [ardb:efi-zboot-direct 24/32]
 drivers/firmware/efi/libstub/x86-stub.c:448:17: error: conflicting types for
 'efi_stub_entry'; have 'void(void *, efi_system_table_t *, struct
 boot_params *)'

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-zboot-direct
head:   1c7265823cb4344d56ab94274db63687aac74183
commit: 0e09b8619b63b6614eca074b8a2788b8937f954b [24/32] efi: libstub: Factor out EFI stub entrypoint into separate file
config: x86_64-rhel-8.3-func
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=0e09b8619b63b6614eca074b8a2788b8937f954b
        git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
        git fetch --no-tags ardb efi-zboot-direct
        git checkout 0e09b8619b63b6614eca074b8a2788b8937f954b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> drivers/firmware/efi/libstub/x86-stub.c:448:17: error: conflicting types for 'efi_stub_entry'; have 'void(void *, efi_system_table_t *, struct boot_params *)'
     448 | void __noreturn efi_stub_entry(efi_handle_t handle,
         |                 ^~~~~~~~~~~~~~
   In file included from drivers/firmware/efi/libstub/x86-stub.c:19:
   drivers/firmware/efi/libstub/efistub.h:1014:14: note: previous declaration of 'efi_stub_entry' with type 'efi_status_t(void *, efi_loaded_image_t *, long unsigned int,  char *)' {aka 'long unsigned int(void *, efi_loaded_image_t *, long unsigned int,  char *)'}
    1014 | efi_status_t efi_stub_entry(efi_handle_t handle,
         |              ^~~~~~~~~~~~~~
   drivers/firmware/efi/libstub/x86-stub.c:768:15: warning: no previous prototype for 'efi_main' [-Wmissing-prototypes]
     768 | unsigned long efi_main(efi_handle_t handle,
         |               ^~~~~~~~


vim +448 drivers/firmware/efi/libstub/x86-stub.c

3b8f44fc0810d5 drivers/firmware/efi/libstub/x86-stub.c Ard Biesheuvel 2020-02-16  447  
c3710de5065d63 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2019-12-24 @448  void __noreturn efi_stub_entry(efi_handle_t handle,
c3710de5065d63 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2019-12-24  449  			       efi_system_table_t *sys_table_arg,
c3710de5065d63 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2019-12-24  450  			       struct boot_params *boot_params);
c3710de5065d63 arch/x86/boot/compressed/eboot.c        Ard Biesheuvel 2019-12-24  451  

:::::: The code at line 448 was first introduced by commit
:::::: c3710de5065d63f8b16d160a118cc50ae09050b4 efi/libstub/x86: Drop __efi_early() export and efi_config struct

:::::: TO: Ard Biesheuvel <ardb@...nel.org>
:::::: CC: Ingo Molnar <mingo@...nel.org>

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

View attachment "config" of type "text/plain" (170014 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ