tree: https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-01 head: 7cdc645073a59261514e56e1a4c6d0dac1b24b32 commit: 181bc9e4a64cc89cae2fe5b0091ed328383ad40c [1/9] Add a PIFO map type for queueing packets config: openrisc-buildonly-randconfig-r003-20211111 (attached as .config) compiler: or1k-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/commit/?id=181bc9e4a64cc89cae2fe5b0091ed328383ad40c git remote add toke https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git git fetch --no-tags toke xdp-queueing-01 git checkout 181bc9e4a64cc89cae2fe5b0091ed328383ad40c # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=openrisc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> kernel/bpf/pifomap.c:197:6: error: no previous prototype for 'pifo_set_bit' [-Werror=missing-prototypes] 197 | void pifo_set_bit(struct bpf_pifo_queue *queue, u32 rank) | ^~~~~~~~~~~~ >> kernel/bpf/pifomap.c:208:6: error: no previous prototype for 'pifo_clear_bit' [-Werror=missing-prototypes] 208 | void pifo_clear_bit(struct bpf_pifo_queue *queue, u32 rank) | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/pifo_set_bit +197 kernel/bpf/pifomap.c 196 > 197 void pifo_set_bit(struct bpf_pifo_queue *queue, u32 rank) 198 { 199 u32 i; 200 201 for (i = queue->levels; i > 0; i--) { 202 unsigned long *bitmap = queue->lvl_bitmap[i-1]; 203 set_bit(rank, bitmap); 204 rank /= BITS_PER_TYPE(long); 205 } 206 } 207 > 208 void pifo_clear_bit(struct bpf_pifo_queue *queue, u32 rank) 209 { 210 u32 i; 211 212 for (i = queue->levels; i > 0; i--) { 213 unsigned long *bitmap = queue->lvl_bitmap[i-1]; 214 clear_bit(rank, bitmap); 215 rank /= BITS_PER_TYPE(long); 216 217 // another bit is set in this word, don't clear bit in higher 218 // level 219 if (*(bitmap + rank)) 220 break; 221 } 222 } 223 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org