[kbingham-rcar:kbingham/vsp/v3u-rd-5.15 25/26] drivers/soc/renesas/rcar-irqc.c:46:6: error: no previous prototype for 'r8a7791_irqc_show'

From: kernel test robot
Date: Fri Oct 01 2021 - 07:51:24 EST


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: arm-allyesconfig (attached as .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=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=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 errors (new ones prefixed by >>):

>> drivers/soc/renesas/rcar-irqc.c:46:6: error: no previous prototype for 'r8a7791_irqc_show' [-Werror=missing-prototypes]
46 | void r8a7791_irqc_show(const char *msg, unsigned int n)
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


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

Attachment: .config.gz
Description: application/gzip