All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-platforms:hack/arm64-early-cpufeature 12/18] arch/arm64/kernel/idreg-override.c:97:13: warning: no previous prototype for function 'init_shadow_regs'
@ 2020-12-28 14:13 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-28 14:13 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: clang-built-linux, kbuild-all, linux-arm-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git hack/arm64-early-cpufeature
head:   c78a06f2038a2d430effe8507a9da0477558954b
commit: 7947fab3bb9e4a186581a142fc1c1a550bc3f08e [12/18] arm64: cpufeature: Add an early command-line cpufeature override facility
config: arm64-randconfig-r032-20201228 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=7947fab3bb9e4a186581a142fc1c1a550bc3f08e
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms hack/arm64-early-cpufeature
        git checkout 7947fab3bb9e4a186581a142fc1c1a550bc3f08e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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/arm64/kernel/idreg-override.c:97:13: warning: no previous prototype for function 'init_shadow_regs' [-Wmissing-prototypes]
   void __init init_shadow_regs(void)
               ^
   arch/arm64/kernel/idreg-override.c:97:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init init_shadow_regs(void)
   ^
   static 
   1 warning generated.


vim +/init_shadow_regs +97 arch/arm64/kernel/idreg-override.c

    96	
  > 97	void __init init_shadow_regs(void)

---
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: 26430 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [arm-platforms:hack/arm64-early-cpufeature 12/18] arch/arm64/kernel/idreg-override.c:97:13: warning: no previous prototype for function 'init_shadow_regs'
@ 2020-12-28 14:13 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-28 14:13 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git hack/arm64-early-cpufeature
head:   c78a06f2038a2d430effe8507a9da0477558954b
commit: 7947fab3bb9e4a186581a142fc1c1a550bc3f08e [12/18] arm64: cpufeature: Add an early command-line cpufeature override facility
config: arm64-randconfig-r032-20201228 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=7947fab3bb9e4a186581a142fc1c1a550bc3f08e
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms hack/arm64-early-cpufeature
        git checkout 7947fab3bb9e4a186581a142fc1c1a550bc3f08e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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/arm64/kernel/idreg-override.c:97:13: warning: no previous prototype for function 'init_shadow_regs' [-Wmissing-prototypes]
   void __init init_shadow_regs(void)
               ^
   arch/arm64/kernel/idreg-override.c:97:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init init_shadow_regs(void)
   ^
   static 
   1 warning generated.


vim +/init_shadow_regs +97 arch/arm64/kernel/idreg-override.c

    96	
  > 97	void __init init_shadow_regs(void)

---
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: 26430 bytes --]

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

end of thread, other threads:[~2020-12-28 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-28 14:13 [arm-platforms:hack/arm64-early-cpufeature 12/18] arch/arm64/kernel/idreg-override.c:97:13: warning: no previous prototype for function 'init_shadow_regs' kernel test robot
2020-12-28 14:13 ` 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.