dpaa_eth: fix build errorr in dpaa_fq_init
authorAnders Roxell <anders.roxell@linaro.org>
Thu, 3 Dec 2020 14:43:43 +0000 (15:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Dec 2020 18:23:02 +0000 (10:23 -0800)
commitfdd8b8249ef819958decd9b0ff2c0e52f9d20ae6
treeac679f2622d07d6c6e075717fb4cf69dd9de76c7
parenta1dd1d86973182458da7798a95f26cfcbea599b4
dpaa_eth: fix build errorr in dpaa_fq_init

When building FSL_DPAA_ETH the following build error shows up:

/tmp/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: In function ‘dpaa_fq_init’:
/tmp/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,
      |         ^~~~~~~~~~~~~~~~

Commit b02e5a0ebb17 ("xsk: Propagate napi_id to XDP socket Rx path")
added an extra argument to function xdp_rxq_info_reg and commit
d57e57d0cd04 ("dpaa_eth: add XDP_TX support") didn't know about that
extra argument.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Link: https://lore.kernel.org/r/20201203144343.790719-1-anders.roxell@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c