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:   Sun, 7 Nov 2021 19:51:39 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ard Biesheuvel <ardb@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: arch/x86/platform/efi/efi.c:1047:9: warning: no previous prototype
 for function 'efi_attr_is_visible'

Hi Ard,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b5013d084e03e82ceeab4db8ae8ceeaebe76b0eb
commit: 9cd437ac0ef4f324a92e2579784b03bb487ae7fb efi/x86: Make fw_vendor, config_table and runtime sysfs nodes x86 specific
date:   1 year, 8 months ago
config: x86_64-randconfig-c007-20210927 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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/torvalds/linux.git/commit/?id=9cd437ac0ef4f324a92e2579784b03bb487ae7fb
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 9cd437ac0ef4f324a92e2579784b03bb487ae7fb
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

   arch/x86/platform/efi/efi.c:1023:7: warning: no previous prototype for function 'efi_systab_show_arch' [-Wmissing-prototypes]
   char *efi_systab_show_arch(char *str)
         ^
   arch/x86/platform/efi/efi.c:1023:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   char *efi_systab_show_arch(char *str)
   ^
   static 
>> arch/x86/platform/efi/efi.c:1047:9: warning: no previous prototype for function 'efi_attr_is_visible' [-Wmissing-prototypes]
   umode_t efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
           ^
   arch/x86/platform/efi/efi.c:1047:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   umode_t efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)
   ^
   static 
   2 warnings generated.


vim +/efi_attr_is_visible +1047 arch/x86/platform/efi/efi.c

  1046	
> 1047	umode_t efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (28570 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ