tree:
https://github.com/zen-kernel/zen-kernel 5.9/clearlinux
head: 2a08e6bb06ef6a673a88475b7697cba9d8a39c9d
commit: 23c73dec0e7b76f8ff212d93e6b0698b3de678b9 [9/26] raid6: add Kconfig option to skip
raid6 benchmarking
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/zen-kernel/zen-kernel/commit/23c73dec0e7b76f8ff212d93e...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.9/clearlinux
git checkout 23c73dec0e7b76f8ff212d93e6b0698b3de678b9
# save the attached .config to linux build tree
make W=1 ARCH=i386
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 >>):
lib/raid6/algos.c: In function 'raid6_select_algo':
> lib/raid6/algos.c:130:28: warning: variable
'gen_fallback' set but not used [-Wunused-but-set-variable]
130 |
const struct raid6_calls *gen_fallback;
| ^~~~~~~~~~~~
vim +/gen_fallback +130 lib/raid6/algos.c
123
124 #ifdef CONFIG_RAID6_FORCE_ALGO
125 /* TODO don't compile in algos that will never be used */
126 int __init raid6_select_algo(void)
127 {
128 const struct raid6_recov_calls *recov_fallback = &raid6_recov_intx1;
129 const struct raid6_recov_calls *recov_algo;
130 const struct raid6_calls *gen_fallback;
131 const
struct raid6_calls *gen_algo;
132
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org