Linux Renesas SOC kernel development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-renesas-soc@vger.kernel.org
Subject: [renesas-drivers:topic/renesas-debug 11/20] drivers/soc/renesas/r8a77965-mstp.c:608:13: warning: no previous prototype for function 'r8a77965_disable_mstp_clocks'
Date: Wed, 13 Jan 2021 02:44:06 +0800	[thread overview]
Message-ID: <202101130256.6LRW7lf9-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-debug
head:   19a13e050f789ac7d98a4b3320a376f5052e84a0
commit: 60122e064f8d3029c65e430a9a4330a02f4b96e3 [11/20] [DEBUG] soc: renesas: r8a77965: MSTP debug handling
config: arm64-randconfig-r034-20210112 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 32bcfcda4e28375e5a85268d2acfabcfcc011abf)
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/geert/renesas-drivers.git/commit/?id=60122e064f8d3029c65e430a9a4330a02f4b96e3
        git remote add renesas-drivers https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git
        git fetch --no-tags renesas-drivers topic/renesas-debug
        git checkout 60122e064f8d3029c65e430a9a4330a02f4b96e3
        # 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 >>):

>> drivers/soc/renesas/r8a77965-mstp.c:608:13: warning: no previous prototype for function 'r8a77965_disable_mstp_clocks' [-Wmissing-prototypes]
   void __init r8a77965_disable_mstp_clocks(void)
               ^
   drivers/soc/renesas/r8a77965-mstp.c:608:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init r8a77965_disable_mstp_clocks(void)
   ^
   static 
   1 warning generated.
   /usr/bin/as: unrecognized option '-EB'
   clang-12: error: assembler command failed with exit code 1 (use -v to see invocation)


vim +/r8a77965_disable_mstp_clocks +608 drivers/soc/renesas/r8a77965-mstp.c

   607	
 > 608	void __init r8a77965_disable_mstp_clocks(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: 34146 bytes --]

                 reply	other threads:[~2021-01-12 18:45 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=202101130256.6LRW7lf9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=geert+renesas@glider.be \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    /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