projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90277a9
)
script: add new check rules in merge_pre_check.pl [1/1]
author
Jianxiong Pan
<jianxiong.pan@amlogic.com>
Thu, 18 Oct 2018 06:23:50 +0000
(14:23 +0800)
committer
Jianxin Pan
<jianxin.pan@amlogic.com>
Thu, 18 Oct 2018 06:29:40 +0000
(23:29 -0700)
PD#174488
Problem:
add some new rules
Solution:
expand the scope of check
Verify:
p212
Change-Id: Ica28adb7ddb43e39cd4570e0338dbd59ec6a42f3
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
scripts/amlogic/merge_pre_check.pl
patch
|
blob
|
history
diff --git
a/scripts/amlogic/merge_pre_check.pl
b/scripts/amlogic/merge_pre_check.pl
index
3b3358f
..
b7a5d29
100755
(executable)
--- a/
scripts/amlogic/merge_pre_check.pl
+++ b/
scripts/amlogic/merge_pre_check.pl
@@
-223,7
+223,7
@@
sub check_msg_314
if( $lnum == 5 )
{
- if ($line !~ /^(\s){4}PD\#
(\w)
+:\s([\w]+:\s){1,2}[\w]+.*[\S]+$/)
+ if ($line !~ /^(\s){4}PD\#
.
+:\s([\w]+:\s){1,2}[\w]+.*[\S]+$/)
{
$err_cnt += 1;
$line =~ s/^(\s){4}//;