OpenCloudOS-Kernel/drivers/target/iscsi/cxgbit
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
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: prefix header search paths with $(srctree)/ 2019-05-18 11:49:57 +09:00
cxgbit.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cxgbit_cm.c SCSI fixes on 20191101 2019-11-02 11:15:52 -07:00
cxgbit_ddp.c scsi: cxgb4i: remove set but not used variable 'ppmax' 2019-10-24 21:15:30 -04:00
cxgbit_lro.h target/cxgbit: add T6 iSCSI DDP completion feature 2017-02-18 21:24:21 -08:00
cxgbit_main.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
cxgbit_target.c net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00