OpenCloudOS-Kernel/drivers/net/ethernet/intel/ice
Pankaj Bharadiya c593642c8b treewide: Use sizeof_field() macro
Replace all the occurrences of FIELD_SIZEOF() with sizeof_field() except
at places where these are defined. Later patches will remove the unused
definition of FIELD_SIZEOF().

This patch is generated using following script:

EXCLUDE_FILES="include/linux/stddef.h|include/linux/kernel.h"

git grep -l -e "\bFIELD_SIZEOF\b" | while read file;
do

	if [[ "$file" =~ $EXCLUDE_FILES ]]; then
		continue
	fi
	sed -i  -e 's/\bFIELD_SIZEOF\b/sizeof_field/g' $file;
done

Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Link: https://lore.kernel.org/r/20190924105839.110713-3-pankaj.laxminarayan.bharadiya@intel.com
Co-developed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: David Miller <davem@davemloft.net> # for net
2019-12-09 10:36:44 -08:00
..
Makefile ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice.h ice: Implement ethtool ops for channels 2019-11-22 13:43:26 -08:00
ice_adminq_cmd.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_base.c ice: Add ice_pf_to_dev(pf) macro 2019-11-22 13:15:17 -08:00
ice_base.h ice: get rid of per-tc flow in Tx queue configuration routines 2019-11-04 10:03:14 -08:00
ice_common.c ice: Correct capabilities reporting of max TCs 2019-11-22 13:06:34 -08:00
ice_common.h ice: use more accurate ICE_DBG mask types 2019-11-08 12:03:15 -08:00
ice_controlq.c ice: print opcode when printing controlq errors 2019-11-08 12:03:18 -08:00
ice_controlq.h ice: Update FW API minor version 2019-11-22 13:43:46 -08:00
ice_dcb.c ice: Adjust DCB INIT for SW mode 2019-11-06 16:41:45 -08:00
ice_dcb.h ice: Allow for delayed LLDP MIB change registration 2019-09-05 08:13:41 -07:00
ice_dcb_lib.c ice: Implement ethtool ops for channels 2019-11-22 13:43:26 -08:00
ice_dcb_lib.h ice: Implement ethtool ops for channels 2019-11-22 13:43:26 -08:00
ice_dcb_nl.c ice: Add ice_pf_to_dev(pf) macro 2019-11-22 13:15:17 -08:00
ice_dcb_nl.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_devids.h ice: Change device ID define names to align with branding string 2018-10-24 13:53:30 -07:00
ice_ethtool.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
ice_flex_pipe.c ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_flex_pipe.h ice: Enable DDP package download 2019-09-12 11:37:38 -07:00
ice_flex_type.h ice: Initialize DDP package structures 2019-09-12 11:28:40 -07:00
ice_hw_autogen.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_lan_tx_rx.h treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
ice_lib.c ice: Implement ethtool ops for channels 2019-11-22 13:43:26 -08:00
ice_lib.h ice: Implement ethtool ops for channels 2019-11-22 13:43:26 -08:00
ice_main.c ice: Implement ethtool ops for channels 2019-11-22 13:43:26 -08:00
ice_nvm.c ice: Update Boot Configuration Section read of NVM 2019-11-06 16:41:45 -08:00
ice_nvm.h ice: Update Boot Configuration Section read of NVM 2019-11-06 16:41:45 -08:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_sched.c ice: remove pointless NULL check of port_info 2019-11-22 13:43:42 -08:00
ice_sched.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_sriov.c ice: Add support for new PHY types 2019-01-15 12:38:44 -08:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: Add handler for ethtool selftest 2019-05-29 02:44:12 -07:00
ice_switch.c ice: Refactor removal of VLAN promiscuous rules 2019-11-22 13:15:08 -08:00
ice_switch.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_txrx.c ice: Get rid of ice_cleanup_header 2019-11-06 16:41:45 -08:00
ice_txrx.h ice: introduce frame padding computation logic 2019-11-04 13:09:50 -08:00
ice_txrx_lib.c ice: Move common functions to ice_txrx_lib.c 2019-11-04 11:45:05 -08:00
ice_txrx_lib.h ice: Move common functions to ice_txrx_lib.c 2019-11-04 11:45:05 -08:00
ice_type.h ice: Store number of functions for the device 2019-11-22 13:06:34 -08:00
ice_virtchnl_pf.c ice: implement VF stats NDO 2019-11-22 13:15:25 -08:00
ice_virtchnl_pf.h ice: implement VF stats NDO 2019-11-22 13:15:25 -08:00
ice_xsk.c ice: Add ice_pf_to_dev(pf) macro 2019-11-22 13:15:17 -08:00
ice_xsk.h ice: Add support for AF_XDP 2019-11-04 12:01:55 -08:00