Hi Li, Thank you for the patch! Yet something to improve: [auto build test ERROR on bpf-next/master] [also build test ERROR on bpf/master ipvs/master v5.10-rc4 next-20201120] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Li-RongQing/libbpf-add-support-for-canceling-cached_cons-advance/20201122-212415 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: x86_64-randconfig-a006-20201122 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/394b6e92389887aaf0ef8a2a70ef295b045c748b git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Li-RongQing/libbpf-add-support-for-canceling-cached_cons-advance/20201122-212415 git checkout 394b6e92389887aaf0ef8a2a70ef295b045c748b # 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@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from xsk.c:35: xsk.h: In function 'xsk_ring_cons__cancel': >> xsk.h:159:2: error: 'rx' undeclared (first use in this function) 159 | rx->cached_cons -= nb; | ^~ xsk.h:159:2: note: each undeclared identifier is reported only once for each function it appears in make[6]: *** [tools/build/Makefile.build:97: kernel/bpf/preload/staticobjs/xsk.o] Error 1 make[6]: Target '__build' not remade because of errors. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip