diff options
author | Vincent Mailhol <[email protected]> | 2021-05-06 18:03:58 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-05-06 19:24:13 -0700 |
commit | 7b844345fc2a9c46f8bb8cdb7408c766dfcdd83d (patch) | |
tree | f6da5b842a4316ba7905df0fbb855b4190f68d98 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | fbe745416d11b1a17c35a7c7f0ef6f4dbe5a7573 (diff) |
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/[email protected]
Signed-off-by: Vincent Mailhol <[email protected]>
Acked-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions