[kbingham-rcar:kbingham/vsp/v3u-5.16 31/50] drivers/soc/renesas/rcar-irqc.c:46:6: warning: no previous prototype for 'r8a7791_irqc_show'

From: kernel test robot
Date: Thu Nov 25 2021 - 01:58:40 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git kbingham/vsp/v3u-5.16
head: ccac14c690227590a29f6d85289101f00de58ec6
commit: afbd32fecf59eeb92e38e7fd7824b60d46d5c894 [31/50] soc: renesas: rcar: IRQC debug handling
config: arm-shmobile_defconfig (https://download.01.org/0day-ci/archive/20211125/202111251426.faFMJHB3-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
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/kbingham/rcar.git/commit/?id=afbd32fecf59eeb92e38e7fd7824b60d46d5c894
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-5.16
git checkout afbd32fecf59eeb92e38e7fd7824b60d46d5c894
# save the config file to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/soc/renesas/rcar-irqc.c:46:6: warning: no previous prototype for 'r8a7791_irqc_show' [-Wmissing-prototypes]
46 | void r8a7791_irqc_show(const char *msg, unsigned int n)
| ^~~~~~~~~~~~~~~~~


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@xxxxxxxxxxxx