From 01c5408b8630e0a15a181643d7ad453dc3b1ec8d Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Wed, 15 Oct 2008 22:02:20 -0700 Subject: [PATCH] --- yaml --- r: 114757 b: refs/heads/master c: c1ab33269a84d6056d2ffc728d8bbaa26377d3e3 h: refs/heads/master i: 114755: af71cf8ee672431a74864852d78fdca3e6e7a8c5 v: v3 --- [refs] | 2 +- trunk/scripts/checkpatch.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 57bc3a29d554..2adabcd0f538 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 01fa91471e9559d72c0c93ea7cca6f9fe6c2d1c3 +refs/heads/master: c1ab33269a84d6056d2ffc728d8bbaa26377d3e3 diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index 482768cd5790..0e5af8ed107e 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -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-\n" . "$here$rawline\n"); } next;