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: <202210171658.X9Vsv12G-lkp@intel.com>
Date:   Mon, 17 Oct 2022 16:45:32 +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:for-kernelci 28/35]
 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 for-kernelci
head:   bf1830a27c8d6916637f2df1d9ff68812fb25cf9
commit: 5adc413c093edd9b39745cd0873aa44f4a799ad0 [28/35] efi: libstub: Factor out EFI stub entrypoint into separate file
config: x86_64-randconfig-a015
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=5adc413c093edd9b39745cd0873aa44f4a799ad0
        git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
        git fetch --no-tags ardb for-kernelci
        git checkout 5adc413c093edd9b39745cd0873aa44f4a799ad0
        # 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" (133295 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ