Hi,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/sameehj-amazon-com/Introduce-XDP...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
c23fcbbc6aa4e0bb615e8a7f23e1f32aec235a1c
config: i386-randconfig-g002-201943 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/net/ethernet/amazon/ena/ena_netdev.c: In function 'ena_xdp_execute':
> drivers/net/ethernet/amazon/ena/ena_netdev.c:121:3: error:
implicit declaration of function 'trace_xdp_exception'; did you mean
'fixup_exception'? [-Werror=implicit-function-declaration]
trace_xdp_exception(rx_ring->netdev, xdp_prog, verdict);
^~~~~~~~~~~~~~~~~~~
fixup_exception
cc1: some warnings being treated as errors
vim +121 drivers/net/ethernet/amazon/ena/ena_netdev.c
107
108 static int ena_xdp_execute(struct ena_ring *rx_ring, struct xdp_buff *xdp)
109 {
110 struct bpf_prog *xdp_prog = rx_ring->xdp_bpf_prog;
111 u32 verdict = XDP_PASS;
112
113 rcu_read_lock();
114
115 if (!xdp_prog)
116 goto out;
117
118 verdict = bpf_prog_run_xdp(xdp_prog, xdp);
119
120 if (unlikely(verdict == XDP_ABORTED))
121 trace_xdp_exception(rx_ring->netdev, xdp_prog, verdict);
122 else if (unlikely(verdict >= XDP_TX))
123 bpf_warn_invalid_xdp_action(verdict);
124 out:
125 rcu_read_unlock();
126 return verdict;
127 }
128
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation