linux_dsm_epyc7002/drivers/net/ethernet/cavium/liquidio
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
..
cn23xx_pf_device.c
cn23xx_pf_device.h
cn23xx_pf_regs.h
cn23xx_vf_device.c
cn23xx_vf_device.h
cn23xx_vf_regs.h
cn66xx_device.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
cn66xx_device.h
cn66xx_regs.h
cn68xx_device.c
cn68xx_device.h
cn68xx_regs.h
lio_core.c net: lio_core: fix potential sign-extension overflow on large shift 2019-06-18 21:00:40 -04:00
lio_ethtool.c
lio_main.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
lio_vf_main.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
lio_vf_rep.c
lio_vf_rep.h
liquidio_common.h
liquidio_image.h
Makefile
octeon_config.h
octeon_console.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
octeon_device.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
octeon_device.h
octeon_droq.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
octeon_droq.h
octeon_iq.h
octeon_mailbox.c liquidio: Use pcie_flr() instead of reimplementing it 2019-08-08 22:41:02 -07:00
octeon_mailbox.h
octeon_main.h
octeon_mem_ops.c
octeon_mem_ops.h
octeon_network.h
octeon_nic.c
octeon_nic.h
request_manager.c liquidio: add cleanup in octeon_setup_iq() 2019-08-15 12:37:37 -07:00
response_manager.c
response_manager.h