]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/checkpatch.pl
checkpatch: complex macros need to ignore comments
[linux-2.6-omap-h63xx.git] / scripts / checkpatch.pl
index 8afa88aaed965d5e64394767a6e48eaa22dfdfdf..96a762be57484c71ea4d4f13ae76f1614bb313d5 100755 (executable)
@@ -1972,6 +1972,7 @@ sub process {
                        } else {
                                $dstat =~ s/^.\s*\#\s*define\s+$Ident\s*//;
                        }
+                       $dstat =~ s/$;//g;
                        $dstat =~ s/\\\n.//g;
                        $dstat =~ s/^\s*//s;
                        $dstat =~ s/\s*$//s;