Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347883
b: refs/heads/master
c: 495e9d8
h: refs/heads/master
i:
  347881: 3b66c54
  347879: 47463cb
v: v3
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Dec 21, 2012
1 parent 7c047cc commit eb40905
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5abe257af8b95857b95fa0ba694530b446ae32d8
refs/heads/master: 495e9d84607cda966ba6d223d5eb9df0070cd21a
7 changes: 5 additions & 2 deletions trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2226,8 +2226,11 @@ sub process {
my $path = $1;
if ($path =~ m{//}) {
ERROR("MALFORMED_INCLUDE",
"malformed #include filename\n" .
$herecurr);
"malformed #include filename\n" . $herecurr);
}
if ($path =~ "^uapi/" && $realfile =~ m@\binclude/uapi/@) {
ERROR("UAPI_INCLUDE",
"No #include in ...include/uapi/... should use a uapi/ path prefix\n" . $herecurr);
}
}

Expand Down

0 comments on commit eb40905

Please sign in to comment.