]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ice: fix W=1 headers mismatch
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Mon, 13 Mar 2023 20:36:07 +0000 (13:36 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 28 Mar 2023 16:42:05 +0000 (09:42 -0700)
commit66ceaa4c4507f2b598d37b528796dd34158d31bf
tree806df23041ec5a2d9adb54f2526d5598bbc614a5
parent917fd7d6cdda179fdced2ebb060a9cda517d76e0
ice: fix W=1 headers mismatch

make modules W=1 returns:
.../ice/ice_txrx_lib.c:448: warning: Function parameter or member 'first_idx' not described in 'ice_finalize_xdp_rx'
.../ice/ice_txrx.c:948: warning: Function parameter or member 'ntc' not described in 'ice_get_rx_buf'
.../ice/ice_txrx.c:1038: warning: Excess function parameter 'rx_buf' description in 'ice_construct_skb'

Fix these warnings by adding and deleting the deviant arguments.

Fixes: 2fba7dc5157b ("ice: Add support for XDP multi-buffer on Rx side")
Fixes: d7956d81f150 ("ice: Pull out next_to_clean bump out of ice_put_rx_buf()")
CC: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Piotr Raczynski <piotr.raczynski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_txrx.c
drivers/net/ethernet/intel/ice/ice_txrx_lib.c