public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org,
	Kieran Bingham <kieran.bingham@ideasonboard.com>
Subject: [kbingham-rcar:kbingham/vsp/v3u-rd-5.15 25/26] drivers/soc/renesas/rcar-irqc.c:46:6: warning: no previous prototype for function 'r8a7791_irqc_show'
Date: Thu, 30 Sep 2021 21:00:51 +0800	[thread overview]
Message-ID: <202109302142.TXcnQu05-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git kbingham/vsp/v3u-rd-5.15
head:   61b5560118d70887c4acc6687912e78eb279bfde
commit: a9d6287bf4fbc6eff6f93606086c74a35d8ce5f0 [25/26] soc: renesas: rcar: IRQC debug handling
config: arm64-randconfig-r021-20210930 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 28981015526f2192440c18f18e8a20cd11b0779c)
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/kbingham/rcar.git/commit/?id=a9d6287bf4fbc6eff6f93606086c74a35d8ce5f0
        git remote add kbingham-rcar https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git
        git fetch --no-tags kbingham-rcar kbingham/vsp/v3u-rd-5.15
        git checkout a9d6287bf4fbc6eff6f93606086c74a35d8ce5f0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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/rcar-irqc.c:46:6: warning: no previous prototype for function 'r8a7791_irqc_show' [-Wmissing-prototypes]
   void r8a7791_irqc_show(const char *msg, unsigned int n)
        ^
   drivers/soc/renesas/rcar-irqc.c:46:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void r8a7791_irqc_show(const char *msg, unsigned int n)
   ^
   static 
   1 warning generated.


vim +/r8a7791_irqc_show +46 drivers/soc/renesas/rcar-irqc.c

    45	
  > 46	void r8a7791_irqc_show(const char *msg, unsigned int n)
    47	{
    48		printk("%s:%u\n", msg, n);
    49		printk("-LEVEL-- --HIGH-- --LOW--- -S-RISE- -S-FALL- -A-RISE- -A-FALL-\n");
    50		printk("%08x %08x %08x %08x %08x %08x %08x\n",
    51		       ioread32(irqc + MONITOR), ioread32(irqc + HLVL_STS),
    52		       ioread32(irqc + LLVL_STS), ioread32(irqc + S_R_EDGE_STS),
    53		       ioread32(irqc + S_F_EDGE_STS), ioread32(irqc + A_R_EDGE_STS),
    54		       ioread32(irqc + A_F_EDGE_STS));
    55	}
    56	

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

                 reply	other threads:[~2021-09-30 13:01 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=202109302142.TXcnQu05-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=geert+renesas@glider.be \
    --cc=kbuild-all@lists.01.org \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /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