Re: USB HID bug (was [PROBLEM] Bonding driver in linux-2.6.21-rc6-mm1)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jiri Kosina <jkosina@...>
Cc: Greg KH <greg@...>, VE (HOME) <ve@...>, Andrew Morton <akpm@...>, Linux Kernel <linux-kernel@...>, <fubar@...>
Date: Friday, April 27, 2007 - 7:24 pm

Hi Jiri,

On Sat, 28 Apr 2007, Jiri Kosina wrote:


The static quirk list uses idVendor == 0 to mark the end of 
hid_blacklist[], so we don't expect any device to have idVendor == 0.  If 
a device is correctly presenting with idVendor == 0, we need a different 
way to terminate that blacklist.  Either that or there's an upper-layer 
bug, as you write.

Regarding its placement: that WARN_ON() belongs in the static quirk lookup 
code, rather than where it is now.  Its current location must be a relic 
of an earlier patchset.


No.  There shouldn't be any functional problem with removing that 
WARN_ON(), and also removing the initial if() in usbhid_lookup_dquirk().


- Paul
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: USB HID bug (was [PROBLEM] Bonding driver in linux-2.6.2..., Paul Walmsley, (Fri Apr 27, 7:24 pm)
Re: [PROBLEM] Bonding driver in linux-2.6.21-rc6-mm1, Andrew Morton, (Fri Apr 27, 3:20 pm)