OpenCloudOS-Kernel/drivers/net/ethernet/intel
Tony Nguyen 6221595fc5 ice: fix unused parameter warning
Depending on PAGE_SIZE, the following unused parameter warning can be
reported:

drivers/net/ethernet/intel/ice/ice_txrx.c: In function ‘ice_rx_frame_truesize’:
drivers/net/ethernet/intel/ice/ice_txrx.c:513:21: warning: unused parameter ‘size’ [-Wunused-parameter]
        unsigned int size)

The 'size' variable is used only when PAGE_SIZE >= 8192. Add __maybe_unused
to remove the warning.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
2020-07-29 08:38:56 -07:00
..
e1000 ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
e1000e ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
fm10k fm10k: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
i40e i40e: introduce new dump desc XDP command 2020-07-01 14:44:17 -07:00
iavf iavf: Fix updating statistics 2020-07-01 14:45:59 -07:00
ice ice: fix unused parameter warning 2020-07-29 08:38:56 -07:00
igb ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
igbvf ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
igc igc: Fix static checker warning 2020-07-27 08:49:32 -07:00
ixgb net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00
ixgbe ixgbe: convert to new udp_tunnel_nic infra 2020-07-10 13:54:00 -07:00
ixgbevf ethernet/intel: Convert fallthrough code comments 2020-07-01 13:47:43 -07:00
Kconfig ice: implement device flash update via devlink 2020-07-28 17:07:06 -07:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00
e100.c net/intel: remove driver versions from Intel drivers 2020-06-25 22:25:13 -07:00