The patch titled Subject: checkpatch: fix stringification macro defect has been added to the -mm tree. Its filename is checkpatch-fix-stringification-macro-defect.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Joe Perches <joe@xxxxxxxxxxx> Subject: checkpatch: fix stringification macro defect Fix checkpatch misreporting defect with stringification macros ERROR: Macros with complex values should be enclosed in parenthesis #27: FILE: arch/arm/include/asm/kgdb.h:41: +#define ___to_string(X) #X Signed-off-by: Joe Perches <joe@xxxxxxxxxxx> Reported-by: Vincent Stehlé <v-stehle@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/checkpatch.pl | 1 + 1 file changed, 1 insertion(+) diff -puN scripts/checkpatch.pl~checkpatch-fix-stringification-macro-defect scripts/checkpatch.pl --- a/scripts/checkpatch.pl~checkpatch-fix-stringification-macro-defect +++ a/scripts/checkpatch.pl @@ -3016,6 +3016,7 @@ sub process { $dstat !~ /^'X'$/ && # character constants $dstat !~ /$exceptions/ && $dstat !~ /^\.$Ident\s*=/ && # .foo = + $dstat !~ /^(?:\#\s*$Ident|\#\s*$Constant)\s*$/ && # stringification #foo $dstat !~ /^do\s*$Constant\s*while\s*$Constant;?$/ && # do {...} while (...); // do {...} while (...) $dstat !~ /^for\s*$Constant$/ && # for (...) $dstat !~ /^for\s*$Constant\s+(?:$Ident|-?$Constant)$/ && # for (...) bar() _ Patches currently in -mm which might be from joe@xxxxxxxxxxx are linux-next.patch checkpatch-fix-stringification-macro-defect.patch get_maintainer-use-filename-only-regex-match-for-tegra.patch get_maintainer-use-filename-only-regex-match-for-tegra-fix.patch checkpatch-add-check-for-reuse-of-krealloc-arg.patch checkpatch-prefer-seq_puts-to-seq_printf.patch checkpatch-complain-about-executable-files.patch kexec-fix-wrong-types-of-some-local-variables.patch kexec-use-min_t-to-simplify-logic.patch kexec-use-min_t-to-simplify-logic-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html