diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/checkpatch.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 53ec3946670d..775f2b146aa1 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
| @@ -1860,7 +1860,8 @@ sub process { | |||
| 1860 | # multi-statement macros should be enclosed in a do while loop, grab the | 1860 | # multi-statement macros should be enclosed in a do while loop, grab the |
| 1861 | # first statement and ensure its the whole macro if its not enclosed | 1861 | # first statement and ensure its the whole macro if its not enclosed |
| 1862 | # in a known good container | 1862 | # in a known good container |
| 1863 | if ($line =~ /^.\s*\#\s*define\s*$Ident(\()?/) { | 1863 | if ($realfile !~ m@/vmlinux.lds.h$@ && |
| 1864 | $line =~ /^.\s*\#\s*define\s*$Ident(\()?/) { | ||
| 1864 | my $ln = $linenr; | 1865 | my $ln = $linenr; |
| 1865 | my $cnt = $realcnt; | 1866 | my $cnt = $realcnt; |
| 1866 | my ($off, $dstat, $dcond, $rest); | 1867 | my ($off, $dstat, $dcond, $rest); |
