From: David Vrabel <david.vrabel@citrix.com>
To: Yuval Shaia <yuval.shaia@oracle.com>, xen-devel@lists.xenproject.org
Subject: Re: [PATCH] xen: Remove trailing semicolon of macro so it can be used in 'if' statement
Date: Mon, 2 Mar 2015 10:39:22 +0000 [thread overview]
Message-ID: <54F43DDA.20908@citrix.com> (raw)
In-Reply-To: <1425207458-1707-1-git-send-email-yuval.shaia@oracle.com>
On 01/03/15 10:57, Yuval Shaia wrote:
> Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
> ---
> include/xen/xenbus.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h
> index b78f21c..b0f1c9e 100644
> --- a/include/xen/xenbus.h
> +++ b/include/xen/xenbus.h
> @@ -114,9 +114,9 @@ int __must_check __xenbus_register_backend(struct xenbus_driver *drv,
> const char *mod_name);
>
> #define xenbus_register_frontend(drv) \
> - __xenbus_register_frontend(drv, THIS_MODULE, KBUILD_MODNAME);
> + __xenbus_register_frontend(drv, THIS_MODULE, KBUILD_MODNAME)
Oops. Applied to stable/for-linus-4,0, thanks.
However, the preferred style for a caller would be:
ret = xenbus_register_frontend(...);
if (ret < 0) {
...
David
prev parent reply other threads:[~2015-03-02 10:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-01 10:57 [PATCH] xen: Remove trailing semicolon of macro so it can be used in 'if' statement Yuval Shaia
2015-03-02 10:39 ` David Vrabel [this message]
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=54F43DDA.20908@citrix.com \
--to=david.vrabel@citrix.com \
--cc=xen-devel@lists.xenproject.org \
--cc=yuval.shaia@oracle.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.