diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 6c11cb61e9f48dd2bc801b26271c245c86868225..78a951f80706dc911a991597bb6ec8ea205d2211 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3652,7 +3652,7 @@ sub process { # Ignore operators passed as parameters. if ($op_type ne 'V' && - $ca =~ /\s$/ && $cc =~ /^\s*,/) { + $ca =~ /\s$/ && $cc =~ /^\s*[,\)]/) { # # Ignore comments # } elsif ($op =~ /^$;+$/) {