projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3228dd0
)
Remove unnecessary + after {8,8} (https://lkml.org/lkml/2014/7/11/809)
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sun, 21 Sep 2014 11:34:49 +0000
(13:34 +0200)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sun, 21 Sep 2014 11:34:49 +0000
(13:34 +0200)
tests/checkpatch.pl
patch
|
blob
|
history
diff --git
a/tests/checkpatch.pl
b/tests/checkpatch.pl
index
4d08b39
..
cab1691
100755
(executable)
--- a/
tests/checkpatch.pl
+++ b/
tests/checkpatch.pl
@@
-2424,7
+2424,7
@@
sub process {
"please, no space before tabs\n" . $herevet) &&
$fix) {
while ($fixed[$fixlinenr] =~
- s/(^\+.*) {8,8}
+
\t/$1\t\t/) {}
+ s/(^\+.*) {8,8}\t/$1\t\t/) {}
while ($fixed[$fixlinenr] =~
s/(^\+.*) +\t/$1\t/) {}
}