Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131845
b: refs/heads/master
c: a3340b3
h: refs/heads/master
i:
  131843: 03e9bb8
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Feb 28, 2009
1 parent 2fbb84f commit dbb7eab
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 00ef4ece05096a5c523e265b8ce6627fb5e171c2
refs/heads/master: a3340b35787975414d5f6fee83e00640688be2cb
4 changes: 2 additions & 2 deletions trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1886,11 +1886,11 @@ sub process {
if ($ctx !~ /[WEBC]x./ && $ca !~ /(?:\)|!|~|\*|-|\&|\||\+\+|\-\-|\{)$/) {
ERROR("space required before that '$op' $at\n" . $hereptr);
}
if ($op eq '*' && $cc =~/\s*const\b/) {
if ($op eq '*' && $cc =~/\s*$Modifier\b/) {
# A unary '*' may be const

} elsif ($ctx =~ /.xW/) {
ERROR("space prohibited after that '$op' $at\n" . $hereptr);
ERROR("Aspace prohibited after that '$op' $at\n" . $hereptr);
}

# unary ++ and unary -- are allowed no space on one side.
Expand Down

0 comments on commit dbb7eab

Please sign in to comment.