lkml.org 
[lkml]   [2022]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[l1k:smsc95xx_5.17 83/888] drivers/irqchip/irq-bcm2836.c:92:6: warning: no previous prototype for 'bcm2836_arm_irqchip_spin_gpu_irq'
tree:   https://github.com/l1k/linux smsc95xx_5.17
head: 240f56c27361c195cd502d95aba51c6b8e5b808c
commit: d9c90edc942c69dc18b6818f69ba36024d1446fa [83/888] ARM64: Round-Robin dispatch IRQs between CPUs.
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20220409/202204090415.1tshazr8-lkp@intel.com/config)
compiler: aarch64-linux-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://github.com/l1k/linux/commit/d9c90edc942c69dc18b6818f69ba36024d1446fa
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k smsc95xx_5.17
git checkout d9c90edc942c69dc18b6818f69ba36024d1446fa
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

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/irqchip/irq-bcm2836.c:92:6: warning: no previous prototype for 'bcm2836_arm_irqchip_spin_gpu_irq' [-Wmissing-prototypes]
92 | void bcm2836_arm_irqchip_spin_gpu_irq(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/bcm2836_arm_irqchip_spin_gpu_irq +92 drivers/irqchip/irq-bcm2836.c

91
> 92 void bcm2836_arm_irqchip_spin_gpu_irq(void)
93 {
94 u32 i;
95 void __iomem *gpurouting = (intc.base + LOCAL_GPU_ROUTING);
96 u32 routing_val = readl(gpurouting);
97
98 for (i = 1; i <= 3; i++) {
99 u32 new_routing_val = (routing_val + i) & 3;
100
101 if (cpu_active(new_routing_val)) {
102 writel(new_routing_val, gpurouting);
103 return;
104 }
105 }
106 }
107 EXPORT_SYMBOL(bcm2836_arm_irqchip_spin_gpu_irq);
108

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-04-08 23:04    [W:0.059 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site