Hi Jesper,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on bpf-next/master]
[also build test ERROR on bpf/master linus/master next-20200409]
[cannot apply to jkirsher-next-queue/dev-queue v5.6]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see
https://stackoverflow.com/a/37406982]
url:
https://github.com/0day-ci/linux/commits/Jesper-Dangaard-Brouer/XDP-exten...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
drivers/net/ethernet/intel/ice/ice_txrx.c: In function
'ice_rx_frame_truesize':
> drivers/net/ethernet/intel/ice/ice_txrx.c:439:2: error: expected
';' before 'return'
439 | return truesize;
| ^~~~~~
> drivers/net/ethernet/intel/ice/ice_txrx.c:440:1: warning: no
return statement in function returning non-void [-Wreturn-type]
440 | }
| ^
vim +439 drivers/net/ethernet/intel/ice/ice_txrx.c
425
426 static unsigned int ice_rx_frame_truesize(struct ice_ring *rx_ring,
427 unsigned int size)
428 {
429 unsigned int truesize;
430
431 #if (PAGE_SIZE < 8192)
432 truesize = ice_rx_pg_size(rx_ring) / 2; /* Must be power-of-2 */
433 #else
434 truesize = ice_rx_offset(rx_ring) ?
435 SKB_DATA_ALIGN(ice_rx_offset(rx_ring) + size) +
436 SKB_DATA_ALIGN(sizeof(struct skb_shared_info)) :
437 SKB_DATA_ALIGN(size)
438 #endif
439 return truesize;
440 }
441
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org