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.
Signed-off-by: Brendan Jackman <email@example.com>
Acked-by: Joe Perches <firstname.lastname@example.org>
Signed-off-by: Andrew Morton <email@example.com>
1 file changed