* [Qemu-devel] [PATCH 1/1] checkpatch: allow spaces before parenthesis for 'coroutine_fn'
@ 2016-11-01 14:38 Jeff Cody
2016-11-01 14:42 ` Eric Blake
2016-11-01 14:45 ` Paolo Bonzini
0 siblings, 2 replies; 3+ messages in thread
From: Jeff Cody @ 2016-11-01 14:38 UTC (permalink / raw)
To: qemu-devel; +Cc: pbonzini, armbru
Signed-off-by: Jeff Cody <jcody@redhat.com>
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 3afa19a..9e64e61 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)
{
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH 1/1] checkpatch: allow spaces before parenthesis for 'coroutine_fn'
2016-11-01 14:38 [Qemu-devel] [PATCH 1/1] checkpatch: allow spaces before parenthesis for 'coroutine_fn' Jeff Cody
@ 2016-11-01 14:42 ` Eric Blake
2016-11-01 14:45 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Eric Blake @ 2016-11-01 14:42 UTC (permalink / raw)
To: Jeff Cody, qemu-devel; +Cc: pbonzini, armbru
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
On 11/01/2016 09:38 AM, Jeff Cody wrote:
> Signed-off-by: Jeff Cody <jcody@redhat.com>
> ---
> scripts/checkpatch.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Eric Blake <eblake@redhat.com>
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 3afa19a..9e64e61 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)
> {
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH 1/1] checkpatch: allow spaces before parenthesis for 'coroutine_fn'
2016-11-01 14:38 [Qemu-devel] [PATCH 1/1] checkpatch: allow spaces before parenthesis for 'coroutine_fn' Jeff Cody
2016-11-01 14:42 ` Eric Blake
@ 2016-11-01 14:45 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2016-11-01 14:45 UTC (permalink / raw)
To: Jeff Cody, qemu-devel; +Cc: armbru
On 01/11/2016 15:38, Jeff Cody wrote:
> Signed-off-by: Jeff Cody <jcody@redhat.com>
> ---
> scripts/checkpatch.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 3afa19a..9e64e61 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)
> {
>
Looks good, thanks.
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-01 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-01 14:38 [Qemu-devel] [PATCH 1/1] checkpatch: allow spaces before parenthesis for 'coroutine_fn' Jeff Cody
2016-11-01 14:42 ` Eric Blake
2016-11-01 14:45 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).