Re: [PATCH 0/4] HID: logitech-hidpp: fixes for error conditions

From: Jiri Kosina
Date: Thu Dec 11 2014 - 17:11:24 EST


On Thu, 11 Dec 2014, Peter Wu wrote:

> Hi Jiri,
>
> Here are four patches intended for the 3.19 stream and are based on
> jikos/hid (for-next, v3.18-rc4-144-gd9372ee).
>
> * The first is actually from Benjamin Tissoires, but modified to remove
> a now unneeded goto.
> * The second one depends on the first (it could work without, but there
> will be a context mismatch).
> * The third one can be applied independently of the others and is needed
> to avoid a possible buffer overread.
> * The fourth and final patch fixes an unbalanced hid_device_io_start().
>
> Tested by booting with three paired USB devices (QEMU + USB
> passthrough), two of them are powered off and one M525 is active. evbug
> registers mouse events.
>

Good stuff, thanks!

Applied.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/