checkpatch: fix SPACE false positive
Fix issue where a space is required after a comma: -:245: ERROR:SPACING: space required after that ',' (ctx:VxB) + SECTION_PROLOGUE(_NOINIT_DMA_SECTION_NAME, (NOLOAD OPTIONAL),) Now we will ignore such errors if the comma is followed by a ). Change-Id: Ib38161cd11e650764c319ba373a1f7c1a6d80df6 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
76b0913a33
commit
e7ee08338b
1 changed files with 1 additions and 1 deletions
|
|
@ -3898,7 +3898,7 @@ sub process {
|
|||
$rtrim_before = 1;
|
||||
}
|
||||
}
|
||||
if ($ctx !~ /.x[WEC]/ && $cc !~ /^}/) {
|
||||
if ($ctx !~ /.x[WEC]/ && $cc !~ /^}/ && $cc !~ /^\)/) {
|
||||
if (ERROR("SPACING",
|
||||
"space required after that '$op' $at\n" . $hereptr)) {
|
||||
$line_fixed = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue