mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org,
	Masahiro Yamada <masahiroy@kernel.org>,
	Nathan Chancellor <nathan@kernel.org>
Subject: [masahiroy:for-next 9/9] arch/arm/mach-integrator/integrator_ap.c:150:13: warning: no previous prototype for function 'ap_init_early'
Date: Tue, 10 Aug 2021 12:11:47 +0800	[thread overview]
Message-ID: <202108101234.hZJ0To1t-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-08-10  4:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202108101234.hZJ0To1t-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®