1
0
Fork 0
alistair23-linux/Documentation/translations/zh_CN/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 docs/zh_CN: fix typos in 1.Intro.rst file 2019-04-19 15:56:06 -06:00
2.Process.rst docs/zh_CN: add disclaimer and translator info in 2.Process 2019-04-02 09:53:52 -06:00
3.Early-stage.rst docs/zh_CN: add disclaimer/translator info in 3.Early-stage 2019-04-02 09:53:52 -06:00
4.Coding.rst docs: fault-injection: convert docs to ReST and rename to *.rst 2019-06-14 14:21:07 -06:00
5.Posting.rst docs/zh_CN: redirect the email-clients link to Chinese version 2019-04-02 09:53:56 -06:00
6.Followthrough.rst docs/zh_CN: add disclaimer and translator info in 6.Followthrough 2019-04-02 09:53:52 -06:00
7.AdvancedTopics.rst docs/zh_CN: add disclaimer and translator info in 7.Advancedtopics 2019-04-02 09:53:53 -06:00
8.Conclusion.rst docs/zh_CN: redirect the submitting-patches to Chinese doc 2019-04-02 09:53:55 -06:00
code-of-conduct-interpretation.rst docs/zh_CN: redirect CoC docs to Chinese version 2019-04-19 15:56:06 -06:00
code-of-conduct.rst docs/zh_CN: redirect CoC docs to Chinese version 2019-04-19 15:56:06 -06:00
coding-style.rst treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
development-process.rst docs/zh_CN: add disclaimer and translator info in development-process 2019-04-02 09:53:51 -06:00
email-clients.rst docs/zh_CN: add Alex into translator in email-clients 2019-04-02 09:53:56 -06:00
howto.rst docs: process: fix broken link 2019-08-24 15:14:38 -06:00
index.rst docs/zh_CN: link management-style into process/index 2019-04-02 09:53:56 -06:00
license-rules.rst docs/zh_CN: include Chinese translation header for license-rules 2019-04-02 09:53:53 -06:00
magic-number.rst Remove every trace of SERIAL_MAGIC 2019-11-13 19:01:14 +08:00
management-style.rst docs: zh_CN: avoid duplicate citation references 2019-06-08 13:42:11 -06:00
programming-language.rst docs: zh_CN: avoid duplicate citation references 2019-06-08 13:42:11 -06:00
stable-api-nonsense.rst docs/zh_CN: Cleanup stable-api-nonscense in Chinese 2019-04-02 09:53:56 -06:00
stable-kernel-rules.rst docs/zh_CN: redirect the submitting-patches to Chinese doc 2019-04-02 09:53:55 -06:00
submit-checklist.rst docs: ioctl-number.txt: convert it to ReST format 2019-07-15 09:20:26 -03:00
submitting-drivers.rst pci-v5.3-changes 2019-07-15 20:44:49 -07:00
submitting-patches.rst docs: process: fix broken link 2019-08-24 15:14:38 -06:00
volatile-considered-harmful.rst docs/zh_CN: volatile doc format changes 2019-03-18 11:39:58 -06:00