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

From: Jiri Kosina
Date: Mon Aug 25 2014 - 04:00:27 EST


On Mon, 25 Aug 2014, Markus Trippelsdorf 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>

Excellent, thanks. Will be pushing it to Linus this week.

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