Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365669
b: refs/heads/master
c: 04db4d2
h: refs/heads/master
i:
  365667: 7a4fad1
v: v3
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Apr 30, 2013
1 parent 0584079 commit 999827b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: a6962d7273d8f89c136fe9ea3d61d7f47adcd823
refs/heads/master: 04db4d25d9eaa58140520f976994d1a601129c00
3 changes: 2 additions & 1 deletion trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,8 @@ sub process {
# Check for incorrect file permissions
if ($line =~ /^new (file )?mode.*[7531]\d{0,2}$/) {
my $permhere = $here . "FILE: $realfile\n";
if ($realfile =~ /(Makefile|Kconfig|\.c|\.h|\.S|\.tmpl)$/) {
if ($realfile !~ m@scripts/@ &&
$realfile !~ /\.(py|pl|awk|sh)$/) {
ERROR("EXECUTE_PERMISSIONS",
"do not set execute permissions for source files\n" . $permhere);
}
Expand Down

0 comments on commit 999827b

Please sign in to comment.