diff options
author | Brendan Jackman <[email protected]> | 2019-09-25 16:46:41 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-09-25 17:51:39 -0700 |
commit | 6dba824e9ef7155f58f11b268b0f98ecec31b723 (patch) | |
tree | b49241799c5201d2668f8c5223fa399cba608b05 /tools/perf/scripts/python | |
parent | a8dd86bf746256fbf68f82bc13356244c5ad8efa (diff) |
checkpatch: exclude sizeof sub-expressions from MACRO_ARG_REUSE
The arguments of sizeof are not evaluated so arguments are safe to re-use
in that context. Excluding sizeof subexpressions means macros like
ARRAY_SIZE can pass checkpatch.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Brendan Jackman <[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')
0 files changed, 0 insertions, 0 deletions