mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
checkpatch: include/asm checks should be anchored
It is possible to have other include/asm paths within the tree which are not subject to the do not edit checks. Ignore those. Signed-off-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
01fa91471e
commit
c1ab33269a
1 changed files with 1 additions and 1 deletions
|
@ -1134,7 +1134,7 @@ sub process {
|
|||
$realfile = $1;
|
||||
$realfile =~ s@^[^/]*/@@;
|
||||
|
||||
if ($realfile =~ m@include/asm/@) {
|
||||
if ($realfile =~ m@^include/asm/@) {
|
||||
ERROR("do not modify files in include/asm, change architecture specific files in include/asm-<architecture>\n" . "$here$rawline\n");
|
||||
}
|
||||
next;
|
||||
|
|
Loading…
Reference in a new issue