linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [masahiroy:for-next 9/9] arch/arm/mach-integrator/integrator_ap.c:150:13: warning: no previous prototype for function 'ap_init_early'
@ 2021-08-10  4:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-10  4:11 UTC (permalink / raw)
  To: Nick Desaulniers
  Cc: clang-built-linux, kbuild-all, linux-kernel, Masahiro Yamada,
	Nathan Chancellor

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

Hi Nick,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next
head:   f12b034afeb3a977bbb1c6584dedc0f3dc666f14
commit: f12b034afeb3a977bbb1c6584dedc0f3dc666f14 [9/9] scripts/Makefile.clang: default to LLVM_IAS=1
config: arm-randconfig-r003-20210809 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 614c7d03877fd99c2de47429b15be3f00306a3bd)
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/masahiroy/linux-kbuild.git/commit/?id=f12b034afeb3a977bbb1c6584dedc0f3dc666f14
        git remote add masahiroy https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
        git fetch --no-tags masahiroy for-next
        git checkout f12b034afeb3a977bbb1c6584dedc0f3dc666f14
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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/arm/mach-integrator/integrator_ap.c:150:13: warning: no previous prototype for function 'ap_init_early' [-Wmissing-prototypes]
   void __init ap_init_early(void)
               ^
   arch/arm/mach-integrator/integrator_ap.c:150:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init ap_init_early(void)
   ^
   static 
   1 warning generated.
--
>> drivers/hsi/controllers/omap_ssi_core.c:147:6: warning: no previous prototype for function 'ssi_waketest' [-Wmissing-prototypes]
   void ssi_waketest(struct hsi_client *cl, unsigned int enable)
        ^
   drivers/hsi/controllers/omap_ssi_core.c:147:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void ssi_waketest(struct hsi_client *cl, unsigned int enable)
   ^
   static 
   1 warning generated.


vim +/ap_init_early +150 arch/arm/mach-integrator/integrator_ap.c

379df2793efdca Linus Walleij 2012-11-17  149  
a613163dff04cb Linus Walleij 2012-06-11 @150  void __init ap_init_early(void)
a613163dff04cb Linus Walleij 2012-06-11  151  {
a613163dff04cb Linus Walleij 2012-06-11  152  }
a613163dff04cb Linus Walleij 2012-06-11  153  

:::::: The code at line 150 was first introduced by commit
:::::: a613163dff04cbfcb7d66b06ef4a5f65498ee59b ARM: integrator: convert to common clock

:::::: TO: Linus Walleij <linus.walleij@linaro.org>
:::::: CC: Mike Turquette <mturquette@linaro.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-10  4:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10  4:11 [masahiroy:for-next 9/9] arch/arm/mach-integrator/integrator_ap.c:150:13: warning: no previous prototype for function 'ap_init_early' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).