linux/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
..
ice_adminq_cmd.h
ice_base.c ice: Add ice_pf_to_dev(pf) macro 2019-11-22 13:15:17 -08:00
ice_base.h
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_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_dcb.c
ice_dcb.h
ice_devids.h
ice_ethtool.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
ice_flex_pipe.c
ice_flex_pipe.h
ice_flex_type.h
ice_hw_autogen.h
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_nvm.h
ice_osdep.h
ice_sched.c ice: remove pointless NULL check of port_info 2019-11-22 13:43:42 -08:00
ice_sched.h
ice_sriov.c
ice_sriov.h
ice_status.h
ice_switch.c ice: Refactor removal of VLAN promiscuous rules 2019-11-22 13:15:08 -08:00
ice_switch.h
ice_txrx_lib.c
ice_txrx_lib.h
ice_txrx.c
ice_txrx.h
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.h ice: Implement ethtool ops for channels 2019-11-22 13:43:26 -08:00
Makefile