From: Benjamin Tissoires <benjamin.tissoires@redhat.com>
To: Ben Hutchings <ben@decadent.org.uk>, Jiri Kosina <jkosina@suse.cz>
Cc: Adam Kulagowski <fidor@fidor.org>, linux-input@vger.kernel.org
Subject: Re: [PATCH] HID: kye: Fix missing break in kye_report_fixup()
Date: Mon, 02 Dec 2013 09:34:54 -0500 [thread overview]
Message-ID: <529C9A8E.2070605@redhat.com> (raw)
In-Reply-To: <1385838747.2760.4.camel@deadeye.wl.decadent.org.uk>
On 30/11/13 14:12, Ben Hutchings wrote:
> The change to support Genius Manticore Keyboard also changed behaviour
> for Genius Gx Imperator Keyboard, as there is no break between the
> cases. This is presumably a mistake.
>
> Reported by Coverity as CID 1134029.
>
> Fixes: 4a2c94c9b6c0 ('HID: kye: Add report fixup for Genius Manticore Keyboard')
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
> drivers/hid/hid-kye.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hid/hid-kye.c b/drivers/hid/hid-kye.c
> index ecb5ca6..e776963 100644
> --- a/drivers/hid/hid-kye.c
> +++ b/drivers/hid/hid-kye.c
> @@ -341,6 +341,7 @@ static __u8 *kye_report_fixup(struct hid_device *hdev, __u8 *rdesc,
> case USB_DEVICE_ID_GENIUS_GX_IMPERATOR:
> rdesc = kye_consumer_control_fixup(hdev, rdesc, rsize, 83,
> "Genius Gx Imperator Keyboard");
> + break;
> case USB_DEVICE_ID_GENIUS_MANTICORE:
> rdesc = kye_consumer_control_fixup(hdev, rdesc, rsize, 104,
> "Genius Manticore Keyboard");
>
Jiri already applied this one, but FWIW:
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Thanks for spotting this,
Benjamin
prev parent reply other threads:[~2013-12-02 14:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-30 19:12 [PATCH] HID: kye: Fix missing break in kye_report_fixup() Ben Hutchings
2013-12-02 14:34 ` Benjamin Tissoires [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=529C9A8E.2070605@redhat.com \
--to=benjamin.tissoires@redhat.com \
--cc=ben@decadent.org.uk \
--cc=fidor@fidor.org \
--cc=jkosina@suse.cz \
--cc=linux-input@vger.kernel.org \
/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).