[linux-usb-devel] Bug in usb_match_one_id()?

2007-02-07 Thread Alan Stern
Greg: When you refactored the USB device-matching code, you may have introduced a bug. Does it seem reasonable that an entry might contain both device-specific and interface-specific criteria to match? In which case both sets of matches would have to succeed, not just one. So is the patch

Re: [linux-usb-devel] Bug in usb_match_one_id()?

2007-02-07 Thread Greg KH
On Wed, Feb 07, 2007 at 12:53:31PM -0500, Alan Stern wrote: Greg: When you refactored the USB device-matching code, you may have introduced a bug. Does it seem reasonable that an entry might contain both device-specific and interface-specific criteria to match? I don't know of any such

Re: [linux-usb-devel] Bug in usb_match_one_id()?

2007-02-07 Thread Alan Stern
On Wed, 7 Feb 2007, Greg KH wrote: On Wed, Feb 07, 2007 at 12:53:31PM -0500, Alan Stern wrote: Greg: When you refactored the USB device-matching code, you may have introduced a bug. Does it seem reasonable that an entry might contain both device-specific and interface-specific