From: Jeff Cody Date: Tue, 1 Nov 2016 14:38:35 +0000 (-0400) Subject: checkpatch: allow spaces before parenthesis for 'coroutine_fn' X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~10^2~14^2~5^2~79^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=000980cb8307afe0578368cee8f31018905bb036;p=sdk%2Femulator%2Fqemu.git checkpatch: allow spaces before parenthesis for 'coroutine_fn' Signed-off-by: Jeff Cody Message-Id: <83b0fae0728906e18849c971d22d077d7fc0f179.1478010883.git.jcody@redhat.com> Reviewed-by: Eric Blake Signed-off-by: Paolo Bonzini --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 1f1c9d3498..f084542934 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1754,7 +1754,7 @@ sub process { # Ignore those directives where spaces _are_ permitted. if ($name =~ /^(?: if|for|while|switch|return|case| - volatile|__volatile__| + volatile|__volatile__|coroutine_fn| __attribute__|format|__extension__| asm|__asm__)$/x) {