Hi Sebastian,
FYI, the error/warning still remains.
tree:
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head: cc7f775b27a17c98c115aaa24288aa3c5563f846
commit: 05e50eed2fd330752c9d1805680c622c0f48dbc7 [7445/14044] mm/zswap: Use local lock to
protect per-CPU data
config: x86_64-randconfig-a003-20210309 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
820f508b08d7c94b2dd7847e9710d2bc36d3dd45)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add ti
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.4.y
git checkout 05e50eed2fd330752c9d1805680c622c0f48dbc7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> mm/zswap.c:376:30: warning: unused variable
'zswap_cpu_lock' [-Wunused-const-variable]
static
DEFINE_LOCAL_IRQ_LOCK(zswap_cpu_lock);
^
1 warning generated.
vim +/zswap_cpu_lock +376 mm/zswap.c
370
371 /*********************************
372 * per-cpu code
373 **********************************/
374 static DEFINE_PER_CPU(u8 *, zswap_dstmem);
375 /* Used for zswap_dstmem and tfm */
376 static DEFINE_LOCAL_IRQ_LOCK(zswap_cpu_lock);
377
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org