From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Insu Yun <wuninsu@gmail.com>
Cc: wei.liu2@citrix.com, david.vrabel@citrix.com,
stefano.stabellini@eu.citrix.com, julien.grall@citrix.com,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
taesoo@gatech.edu, yeongjin.jang@gatech.edu, insu@gatech.edu,
changwoo@gatech.edu
Subject: Re: [PATCH] xen: check return value of xenbus_printf
Date: Mon, 19 Oct 2015 09:46:51 -0700 [thread overview]
Message-ID: <20151019164651.GA7006@dtor-ws> (raw)
In-Reply-To: <1445270571-23890-1-git-send-email-wuninsu@gmail.com>
On Mon, Oct 19, 2015 at 04:02:51PM +0000, Insu Yun wrote:
> Signed-off-by: Insu Yun <wuninsu@gmail.com>
Applied, thank you. However you still are missing the commit description
on this version of the patch; I had to fish it from your original
posting.
Thanks.
> ---
> drivers/input/misc/xen-kbdfront.c | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/input/misc/xen-kbdfront.c b/drivers/input/misc/xen-kbdfront.c
> index 23d0549..0a9ad2cf 100644
> --- a/drivers/input/misc/xen-kbdfront.c
> +++ b/drivers/input/misc/xen-kbdfront.c
> @@ -129,8 +129,14 @@ static int xenkbd_probe(struct xenbus_device *dev,
>
> if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-abs-pointer", "%d", &abs) < 0)
> abs = 0;
> - if (abs)
> - xenbus_printf(XBT_NIL, dev->nodename, "request-abs-pointer", "1");
> + if (abs) {
> + ret = xenbus_printf(XBT_NIL, dev->nodename,
> + "request-abs-pointer", "1");
> + if (ret) {
> + pr_warning("xenkbd: can't request abs-pointer");
> + abs = 0;
> + }
> + }
>
> /* keyboard */
> kbd = input_allocate_device();
> --
> 1.9.1
>
--
Dmitry
next prev parent reply other threads:[~2015-10-19 16:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-19 16:02 [PATCH] xen: check return value of xenbus_printf Insu Yun
2015-10-19 16:46 ` Dmitry Torokhov [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-10-19 14:10 Insu Yun
2015-10-19 14:30 ` Julien Grall
2015-10-15 18:40 Insu Yun
2015-10-16 0:01 ` Dmitry Torokhov
2015-10-15 16:25 Insu Yun
2015-10-15 16:40 ` David Vrabel
[not found] ` <CAGoFzNeiu0sNXUh_JtGp8_HWA+k5xq9s-D4qFqU43Vgm=bYiiA@mail.gmail.com>
2015-10-15 18:20 ` Julien Grall
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=20151019164651.GA7006@dtor-ws \
--to=dmitry.torokhov@gmail.com \
--cc=changwoo@gatech.edu \
--cc=david.vrabel@citrix.com \
--cc=insu@gatech.edu \
--cc=julien.grall@citrix.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=taesoo@gatech.edu \
--cc=wei.liu2@citrix.com \
--cc=wuninsu@gmail.com \
--cc=yeongjin.jang@gatech.edu \
/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 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).