tree:
https://github.com/zen-kernel/zen-kernel 5.11/clearlinux
head: fede6bb5df1f596da7a69493ea8698cef4b93f68
commit: 8bca7b9c84942da91c8dbf901dbafac503567545 [8/19] raid6: add Kconfig option to skip
raid6 benchmarking
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
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
#
https://github.com/zen-kernel/zen-kernel/commit/8bca7b9c84942da91c8dbf901...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.11/clearlinux
git checkout 8bca7b9c84942da91c8dbf901dbafac503567545
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
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 >>):
lib/raid6/algos.c: In function 'raid6_select_algo':
> lib/raid6/algos.c:138:3: error: #error "TODO"
138 | # error "TODO"
| ^~~~~
lib/raid6/algos.c:130:28: warning: unused variable 'gen_fallback'
[-Wunused-variable]
130 | const struct raid6_calls *gen_fallback;
| ^~~~~~~~~~~~
vim +/TODO +138 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
133 #if defined(__i386__)
134 gen_fallback = &raid6_intx32;
135 #elif defined(__x86_64__)
136 gen_fallback = &raid6_sse2x2;
137 #else
138 # error "TODO"
139 #endif
140
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org