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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux