From: KY Srinivasan <kys@microsoft.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: "gregkh@suse.de" <gregkh@suse.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
"ohering@suse.com" <ohering@suse.com>,
"benjamin.tissoires@redhat.com" <benjamin.tissoires@redhat.com>,
"dh.herrmann@gmail.com" <dh.herrmann@gmail.com>
Subject: RE: [PATCH 1/1] Drivers: hid: hid-hyperv: Implement a stub raw_request() entry point
Date: Sat, 29 Mar 2014 05:05:53 +0000 [thread overview]
Message-ID: <61cf7a771df1479eb6c407f0109e7587@BY2PR03MB299.namprd03.prod.outlook.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1403281842100.16202@pobox.suse.cz>
> -----Original Message-----
> From: Jiri Kosina [mailto:jkosina@suse.cz]
> Sent: Friday, March 28, 2014 6:43 PM
> To: KY Srinivasan
> Cc: gregkh@suse.de; linux-kernel@vger.kernel.org;
> devel@linuxdriverproject.org; ohering@suse.com;
> benjamin.tissoires@redhat.com; dh.herrmann@gmail.com
> Subject: Re: [PATCH 1/1] Drivers: hid: hid-hyperv: Implement a stub
> raw_request() entry point
>
> On Fri, 28 Mar 2014, K. Y. Srinivasan wrote:
>
> > commit 3c86726cfe38952f0366f86acfbbb025813ec1c2
> > Author: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> > Date: Thu Feb 20 15:24:49 2014 -0500
> >
> > HID: make .raw_request mandatory
> >
> > SET_REPORT and GET_REPORT are mandatory in the HID specification.
> > Make the corresponding API in hid-core mandatory too, which removes
> the
> > need to test against it in some various places.
> >
> > Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> > Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
> > Signed-off-by: Jiri Kosina <jkosina@suse.cz>
> >
> > Made .raw_request mandatory and broke the Hyper-V mouse driver. This
> > patch fixes the problem.
> >
> > Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> > ---
> > drivers/hid/hid-hyperv.c | 10 ++++++++++
> > 1 files changed, 10 insertions(+), 0 deletions(-)
> >
> > diff --git a/drivers/hid/hid-hyperv.c b/drivers/hid/hid-hyperv.c index
> > c24908f..89a9234 100644
> > --- a/drivers/hid/hid-hyperv.c
> > +++ b/drivers/hid/hid-hyperv.c
> > @@ -460,12 +460,22 @@ static void mousevsc_hid_stop(struct hid_device
> > *hid) { }
> >
> > +static int mousevsc_hid_raw_request(struct hid_device *hid,
> > + unsigned char report_num,
> > + __u8 buf, size_t len,
>
> This should be __u8 *buf. I have fixed that and applied.
Thanks Jiri,
K. Y
>
> --
> Jiri Kosina
> SUSE Labs
prev parent reply other threads:[~2014-03-29 5:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-29 0:41 K. Y. Srinivasan
2014-03-29 0:05 ` Benjamin Tissoires
2014-03-29 1:42 ` Jiri Kosina
2014-03-29 5:05 ` KY Srinivasan [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=61cf7a771df1479eb6c407f0109e7587@BY2PR03MB299.namprd03.prod.outlook.com \
--to=kys@microsoft.com \
--cc=benjamin.tissoires@redhat.com \
--cc=devel@linuxdriverproject.org \
--cc=dh.herrmann@gmail.com \
--cc=gregkh@suse.de \
--cc=jkosina@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=ohering@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®