diff options
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 482768cd5790..0e5af8ed107e 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -1134,7 +1134,7 @@ sub process { | |||
1134 | $realfile = $1; | 1134 | $realfile = $1; |
1135 | $realfile =~ s@^[^/]*/@@; | 1135 | $realfile =~ s@^[^/]*/@@; |
1136 | 1136 | ||
1137 | if ($realfile =~ m@include/asm/@) { | 1137 | if ($realfile =~ m@^include/asm/@) { |
1138 | ERROR("do not modify files in include/asm, change architecture specific files in include/asm-<architecture>\n" . "$here$rawline\n"); | 1138 | ERROR("do not modify files in include/asm, change architecture specific files in include/asm-<architecture>\n" . "$here$rawline\n"); |
1139 | } | 1139 | } |
1140 | next; | 1140 | next; |