From: Ian Campbell <ian.campbell@citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>,
Yang Hongyang <yanghy@cn.fujitsu.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH 2/3] tools/libxc: Properly quote macro parameters
Date: Fri, 8 May 2015 14:26:25 +0100 [thread overview]
Message-ID: <1431091585.2660.446.camel@citrix.com> (raw)
In-Reply-To: <1431089675-31163-3-git-send-email-andrew.cooper3@citrix.com>
On Fri, 2015-05-08 at 13:54 +0100, Andrew Cooper wrote:
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> CC: Ian Campbell <Ian.Campbell@citrix.com>
> CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
> CC: Wei Liu <wei.liu2@citrix.com>
> CC: Yang Hongyang <yanghy@cn.fujitsu.com>
> ---
> tools/libxc/include/xenctrl.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tools/libxc/include/xenctrl.h b/tools/libxc/include/xenctrl.h
> index 6994c51..fc880e1 100644
> --- a/tools/libxc/include/xenctrl.h
> +++ b/tools/libxc/include/xenctrl.h
> @@ -270,7 +270,7 @@ struct xc_hypercall_buffer {
> * transparently converted to the hypercall buffer as necessary.
> */
> #define DECLARE_HYPERCALL_BUFFER(_type, _name) \
> - _type *_name = NULL; \
> + _type *(_name) = NULL; \
> xc_hypercall_buffer_t XC__HYPERCALL_BUFFER_NAME(_name) = { \
> .hbuf = NULL, \
> .param_shadow = NULL, \
> @@ -288,10 +288,10 @@ struct xc_hypercall_buffer {
> * required.
> */
> #define DECLARE_HYPERCALL_BUFFER_SHADOW(_type, _name, _hbuf) \
> - _type *_name = _hbuf->hbuf; \
> + _type *(_name) = (_hbuf)->hbuf; \
This seems to be the only one which matters in practice, but it's good
manners, so:
Acked-by: Ian Campbell <ian.campbell@citrix.com>
next prev parent reply other threads:[~2015-05-08 13:26 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-08 12:54 [PATCH 0/3] Misc patches to aid migration v2 Remus support Andrew Cooper
2015-05-08 12:54 ` [PATCH 1/3] [RFC] x86/hvm: Permit HVM_PARAM_IDENT_PT to be set more than once Andrew Cooper
2015-05-08 13:46 ` Jan Beulich
2015-05-08 13:48 ` Andrew Cooper
2015-05-08 12:54 ` [PATCH 2/3] tools/libxc: Properly quote macro parameters Andrew Cooper
2015-05-08 13:00 ` Andrew Cooper
2015-05-08 15:00 ` Ian Campbell
2015-05-08 13:26 ` Ian Campbell [this message]
2015-05-08 12:54 ` [PATCH 3/3] libxc/migrationv2: Split {start, end}_of_stream() to make checkpoint variants Andrew Cooper
2015-05-08 13:30 ` Ian Campbell
2015-05-08 13:37 ` Andrew Cooper
2015-05-08 13:50 ` Ian Campbell
2015-05-08 13:55 ` Andrew Cooper
2015-05-08 14:12 ` Ian Campbell
2015-05-11 2:40 ` Hongyang Yang
2015-05-11 2:31 ` Hongyang Yang
2015-05-11 9:02 ` Andrew Cooper
2015-05-11 9:23 ` Hongyang Yang
2015-05-08 13:15 ` [PATCH 0/3] Misc patches to aid migration v2 Remus support Andrew Cooper
2015-05-11 2:43 ` Hongyang Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1431091585.2660.446.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
--cc=yanghy@cn.fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.