summaryrefslogtreecommitdiff
path: root/scripts/cleanfile
diff options
context:
space:
mode:
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>2021-05-07 04:03:58 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-05-07 05:24:13 +0300
commit7b844345fc2a9c46f8bb8cdb7408c766dfcdd83d (patch)
treef6da5b842a4316ba7905df0fbb855b4190f68d98 /scripts/cleanfile
parentfbe745416d11b1a17c35a7c7f0ef6f4dbe5a7573 (diff)
downloadlinux-7b844345fc2a9c46f8bb8cdb7408c766dfcdd83d.tar.xz
checkpatch: exclude four preprocessor sub-expressions from MACRO_ARG_REUSE
__must_be_array, offsetof, sizeof_field and __stringify are all preprocessor macros and do not evaluate their arguments. As such, it is safe not to warn when arguments are being reused in those four sub-expressions. Exclude those so that they can pass checkpatch. Link: https://lkml.kernel.org/r/20210407105042.25380-1-mailhol.vincent@wanadoo.fr Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Acked-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/cleanfile')
0 files changed, 0 insertions, 0 deletions