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]
Date:   Thu, 13 Oct 2022 22:39:43 +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 35/35]
 drivers/firmware/efi/libstub/zboot.c:52:13: warning: no previous prototype
 for 'efi_cache_sync_image'

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-zboot-direct
head:   c4954c4853a50dbfefd1beb56d466ab612164ae2
commit: c4954c4853a50dbfefd1beb56d466ab612164ae2 [35/35] efi: libstub: Merge zboot decompressor with the ordinary stub
config: loongarch-allyesconfig
compiler: loongarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=c4954c4853a50dbfefd1beb56d466ab612164ae2
        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 c4954c4853a50dbfefd1beb56d466ab612164ae2
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/firmware/

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

All warnings (new ones prefixed by >>):

>> drivers/firmware/efi/libstub/zboot.c:52:13: warning: no previous prototype for 'efi_cache_sync_image' [-Wmissing-prototypes]
      52 | void __weak efi_cache_sync_image(unsigned long image_base,
         |             ^~~~~~~~~~~~~~~~~~~~
   drivers/firmware/efi/libstub/zboot.c:63:1: warning: no previous prototype for 'efi_zboot_entry' [-Wmissing-prototypes]
      63 | efi_zboot_entry(efi_handle_t handle, efi_system_table_t *systab)
         | ^~~~~~~~~~~~~~~


vim +/efi_cache_sync_image +52 drivers/firmware/efi/libstub/zboot.c

    51	
  > 52	void __weak efi_cache_sync_image(unsigned long image_base,
    53					 unsigned long alloc_size,
    54					 unsigned long code_size)
    55	{
    56		/*
    57		 * Provided by the arch to perform the cache maintenance necessary for
    58		 * executable code loaded into memory to be safe for execution.
    59		 */
    60	}
    61	

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ