Re: [PATCH 1/2] HID: logitech-dj: prevent false errors to be shown

From: Markus Trippelsdorf
Date: Mon Aug 25 2014 - 03:56:04 EST


On 2014.08.25 at 02:50 -0500, Jiri Kosina wrote:
> On Fri, 22 Aug 2014, Benjamin Tissoires wrote:
>
> > Commit "HID: logitech: perform bounds checking on device_id early
> > enough" unfortunately leaks some errors to dmesg which are not real
> > ones:
> > - if the report is not a DJ one, then there is not point in checking
> > the device_id
> > - the receiver (index 0) can also receive some notifications which
> > can be safely ignored given the current implementation
> >
> > Move out the test regarding the report_id and also discards
> > printing errors when the receiver got notified.
> >
> > Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
>
> I have now queued this one for 3.17. Adding Markus to CC -- Markus, this
> should make the spurious error messages you have reported go away.

Indeed it does. Feel free to add:

Reported-and-tested-by: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>

--
Markus
--
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/