linux/Documentation/translations/zh_CN
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
..
arm docs: arm: convert docs to ReST and rename to *.rst 2019-07-15 09:20:24 -03:00
arm64 doc: arm64: fix grammar dtb placed in no attributes region 2019-09-06 08:44:34 -06:00
filesystems docs: driver-model: move it to the driver-api book 2019-07-15 11:03:02 -03:00
process treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
video4linux media: v4l: fix broken video4linux docs locations 2018-06-15 18:10:01 -03:00
disclaimer-zh_CN.rst docs/zh_CN: correct the disclaimer file 2019-04-02 09:53:57 -06:00
gpio.txt docs: gpio: add sysfs interface to the admin-guide 2019-07-15 11:03:03 -03:00
index.rst docs/zh_CN: change Chinese index to know process dir 2019-03-18 11:39:57 -06:00
io_ordering.txt fix a series of Documentation/ broken file name references 2018-06-15 18:10:01 -03:00
IRQ.txt
oops-tracing.txt docs: admin-guide: add kdump documentation into it 2019-07-15 11:03:01 -03:00
SecurityBugs
sparse.txt Remove references to dead website. 2019-07-19 12:22:04 -07:00