hi, all:
The error came out like this when i build the linux-next kernel
with ARCH=arm64, with the arm64_defconfig:
CC drivers/net/ethernet/freescale/dpaa/dpaa_eth.o
../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: In function ‘dpaa_fq_init’:
../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:1135:9: error: too few arguments to function ‘xdp_rxq_info_reg’
1135 | err = xdp_rxq_info_reg(&dpaa_fq->xdp_rxq, dpaa_fq->net_dev,
| ^~~~~~~~~~~~~~~~
In file included from ../include/linux/netdevice.h:42,
from ../include/uapi/linux/if_arp.h:27,
from ../include/linux/if_arp.h:23,
from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:40:
../include/net/xdp.h:229:5: note: declared here
229 | int xdp_rxq_info_reg(struct xdp_rxq_info *xdp_rxq,
| ^~~~~~~~~~~~~~~~
make[6]: *** [../scripts/Makefile.build:283: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1
Branch: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
HEAD: 2996bd3f6ca9ea529b40c369a94b247657abdb4d
ARCH: arm64
CONFIG: arch/arm64/configs/defconfig
CMD: make ARCH=arm64 CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- Image
It maybe introduced by the commit b02e5a0ebb172(xsk: Propagate napi_id to XDP socket Rx path),
and if anyone solved this, please add:
Reported-by: Hui Su <sh_def@xxxxxxx>