Re: [PATCH] Revert "net: cx82310_eth: use common match macro"

From: David Miller
Date: Thu Mar 19 2015 - 12:27:46 EST


From: Bjørn Mork <bjorn@xxxxxxx>
Date: Thu, 19 Mar 2015 09:21:30 +0100

> Ondrej Zary <linux@xxxxxxxxxxxxxxxxxxxx> writes:
>
>> This reverts commit 11ad714b98f6d9ca0067568442afe3e70eb94845 because
>> it breaks cx82310_eth.
>>
>> The custom USB_DEVICE_CLASS macro matches
>> bDeviceClass, bDeviceSubClass and bDeviceProtocol
>> but the common USB_DEVICE_AND_INTERFACE_INFO matches
>> bInterfaceClass, bInterfaceSubClass and bInterfaceProtocol instead, which are
>> not specified.
>
> Ouch. What ever made me do that? Thanks a lot for fixing it!
>
> This bug was introduced as long ago as v3.7, so the fix should go into
> every currently maintained stable branch since that.

Queued up for -stable, thanks.
--
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/