linux/Documentation/process
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
..
1.Intro.rst
2.Process.rst
3.Early-stage.rst
4.Coding.rst
5.Posting.rst
6.Followthrough.rst
7.AdvancedTopics.rst
8.Conclusion.rst
adding-syscalls.rst
applying-patches.rst
botching-up-ioctls.rst docs: ioctl: fix typo 2019-10-24 12:10:06 -06:00
changes.rst
clang-format.rst
code-of-conduct-interpretation.rst
code-of-conduct.rst
coding-style.rst treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
deprecated.rst Documentation/process: Add fallthrough pseudo-keyword 2019-10-11 09:26:05 -07:00
development-process.rst
email-clients.rst doc: email-clients miscellaneous fixes 2019-07-31 13:05:37 -06:00
embargoed-hardware-issues.rst Documentation/process: Add AMD contact for embargoed hardware issues 2019-11-12 08:45:49 -07:00
howto.rst docs: process: fix broken link 2019-08-24 15:14:38 -06:00
index.rst docs: move botching-up-ioctls.rst to the process guide 2019-10-10 11:21:48 -06:00
kernel-docs.rst
kernel-driver-statement.rst
kernel-enforcement-statement.rst
license-rules.rst
magic-number.rst Remove every trace of SERIAL_MAGIC 2019-11-13 19:01:14 +08:00
maintainer-pgp-guide.rst
maintainers.rst doc-rst: Programmatically render MAINTAINERS into ReST 2019-10-02 10:03:17 -06:00
management-style.rst
programming-language.rst
stable-api-nonsense.rst
stable-kernel-rules.rst
submit-checklist.rst
submitting-drivers.rst
submitting-patches.rst docs: process: Add base-commit trailer usage 2019-11-07 13:17:25 -07:00
volatile-considered-harmful.rst