tree:
https://github.com/zen-kernel/zen-kernel 5.10/clearlinux
head: f913bdc4bdb24521c1309755d426d7bac427ad2f
commit: f32b62caf790b6f63e5b447108b90febb9c009eb [9/25] raid6: add Kconfig option to skip
raid6 benchmarking
config: x86_64-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/f32b62caf790b6f63e5b44710...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.10/clearlinux
git checkout f32b62caf790b6f63e5b447108b90febb9c009eb
# save the attached .config to linux build tree
make W=1 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 >>):
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