tree:
https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head: 2046457bf9f4a420f69e915453d59db5b38edbaa
commit: 3c3f9863f8b96ccbf6fd420c93f1685f6085651a [15/16] Merge tag
'lts-v5.4.58-yocto-200825T002733Z' into lts2019/yocto-rt
config: powerpc-randconfig-r033-20210517 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
0a34ff8bcb1df16fe7d643ccbe4567b2162c5024)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
#
https://github.com/intel/linux-intel-lts/commit/3c3f9863f8b96ccbf6fd420c9...
git remote add intel-linux-intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 5.4/preempt-rt
git checkout 3c3f9863f8b96ccbf6fd420c93f1685f6085651a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> arch/powerpc/platforms/pseries/iommu.c:181:30: error: unused
variable 'tcp_page_lock' [-Werror,-Wunused-const-variable]
static
DEFINE_LOCAL_IRQ_LOCK(tcp_page_lock);
^
1 error generated.
vim +/tcp_page_lock +181 arch/powerpc/platforms/pseries/iommu.c
^1da177e4c3f41 arch/ppc64/kernel/pSeries_iommu.c Linus Torvalds 2005-04-16
179
df015604cf5bb0 arch/powerpc/platforms/pseries/iommu.c Anton Blanchard 2013-10-17
180 static DEFINE_PER_CPU(__be64 *, tce_page);
3ab3ff1d185c02 arch/powerpc/platforms/pseries/iommu.c Sebastian Andrzej Siewior 2019-03-26
@181 static DEFINE_LOCAL_IRQ_LOCK(tcp_page_lock);
^1da177e4c3f41 arch/ppc64/kernel/pSeries_iommu.c Linus Torvalds 2005-04-16
182
:::::: The code at line 181 was first introduced by commit
:::::: 3ab3ff1d185c02c51cfb22a22476d8c3791c8810 powerpc/pseries/iommu: Use a locallock
instead local_irq_save()
:::::: TO: Sebastian Andrzej Siewior <bigeasy(a)linutronix.de>
:::::: CC: Sebastian Andrzej Siewior <bigeasy(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org