drivers/irqchip/irq-apple-aic.c:181:1: sparse: sparse: symbol 'use_fast_ipi' was not declared. Should it be static?

From: kernel test robot
Date: Wed Apr 06 2022 - 18:11:01 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3e732ebf7316ac83e8562db7e64cc68aec390a18
commit: 2cf68211664acd2e4bdd1fb66697137b30901981 irqchip/apple-aic: Add Fast IPI support
date: 4 weeks ago
config: arm64-randconfig-s032-20220406 (https://download.01.org/0day-ci/archive/20220407/202204070633.vRp7MVoj-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2cf68211664acd2e4bdd1fb66697137b30901981
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 2cf68211664acd2e4bdd1fb66697137b30901981
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/irqchip/ drivers/remoteproc/ lib/

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


sparse warnings: (new ones prefixed by >>)
>> drivers/irqchip/irq-apple-aic.c:181:1: sparse: sparse: symbol 'use_fast_ipi' was not declared. Should it be static?

vim +/use_fast_ipi +181 drivers/irqchip/irq-apple-aic.c

> 181

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