All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/x86/platform/efi/efi.c:1047:9: warning: no previous prototype for function 'efi_attr_is_visible'
@ 2021-11-07 11:51 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-07 11:51 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: llvm, kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2435 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28570 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* arch/x86/platform/efi/efi.c:1047:9: warning: no previous prototype for function 'efi_attr_is_visible'
@ 2021-11-07 11:51 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-07 11:51 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2487 bytes --]

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@intel.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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28570 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* arch/x86/platform/efi/efi.c:1047:9: warning: no previous prototype for function 'efi_attr_is_visible'
@ 2021-09-27 17:06 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-09-27 17:06 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: llvm, kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2387 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 9cd437ac0ef4f324a92e2579784b03bb487ae7fb efi/x86: Make fw_vendor, config_table and runtime sysfs nodes x86 specific
date:   1 year, 7 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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28554 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* arch/x86/platform/efi/efi.c:1047:9: warning: no previous prototype for function 'efi_attr_is_visible'
@ 2021-09-27 17:06 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-09-27 17:06 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2435 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 9cd437ac0ef4f324a92e2579784b03bb487ae7fb efi/x86: Make fw_vendor, config_table and runtime sysfs nodes x86 specific
date:   1 year, 7 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@intel.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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28554 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-07 11:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-07 11:51 arch/x86/platform/efi/efi.c:1047:9: warning: no previous prototype for function 'efi_attr_is_visible' kernel test robot
2021-11-07 11:51 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-09-27 17:06 kernel test robot
2021-09-27 17:06 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.