gerrit
2017-04-09 16:59:32 UTC
This is an automated email from Gerrit.
Chengyu Zheng (***@polimi.it) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4102
-- gerrit
commit edd79fa1ae5eae90d2a5f001115c12a8fbe16125
Author: Chengyu Zheng <***@polimi.it>
Date: Sun Apr 9 18:55:02 2017 +0200
tools/scripts/checkpatch.pl: fix unescaped brace
Change-Id: If1d0fbe95223351ea098504cf24f076784b26a9c
Signed-off-by: Chengyu Zheng <***@polimi.it>
diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index 92befc6..b977d36 100755
--- a/tools/scripts/checkpatch.pl
+++ b/tools/scripts/checkpatch.pl
@@ -2224,7 +2224,7 @@ sub process {
# function brace can't be on same line, except for #defines of do while,
# or if closed on same line
- if (($line=~/$Type\s*$Ident\(.*\).*\s{/) and
+ if (($line=~/$Type\s*$Ident\(.*\).*\s\{/) and
!($line=~/\#\s*define.*do\s\{/) and !($line=~/}/)) {
ERROR("OPEN_BRACE",
"open brace '{' following function declarations go on the next line\n" . $herecurr);
--
Chengyu Zheng (***@polimi.it) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4102
-- gerrit
commit edd79fa1ae5eae90d2a5f001115c12a8fbe16125
Author: Chengyu Zheng <***@polimi.it>
Date: Sun Apr 9 18:55:02 2017 +0200
tools/scripts/checkpatch.pl: fix unescaped brace
Change-Id: If1d0fbe95223351ea098504cf24f076784b26a9c
Signed-off-by: Chengyu Zheng <***@polimi.it>
diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index 92befc6..b977d36 100755
--- a/tools/scripts/checkpatch.pl
+++ b/tools/scripts/checkpatch.pl
@@ -2224,7 +2224,7 @@ sub process {
# function brace can't be on same line, except for #defines of do while,
# or if closed on same line
- if (($line=~/$Type\s*$Ident\(.*\).*\s{/) and
+ if (($line=~/$Type\s*$Ident\(.*\).*\s\{/) and
!($line=~/\#\s*define.*do\s\{/) and !($line=~/}/)) {
ERROR("OPEN_BRACE",
"open brace '{' following function declarations go on the next line\n" . $herecurr);
--