Re: [PATCH] usb: storage: fix lockdep warning inside usb_stor_pre_reset

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

 



Hi,

On Thu, Mar 15, 2012 at 7:14 PM, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

>> > Also, is there a guarantee your: iface - interface[0] thing is <8 ? If
>> > not, its broken.
>>
>> One configuration may support at most 32 interfaces in current usb stack,
>> but looks there aren't such devices with more than 8 mass storage
>> interfaces in reality.  Alan, did you hear such devices?
>
> So you're putting yourself in the hands of device manufacturers? Doesn't
> seem like a good place to be if you ask me.

So how about using lockdep_set_class to address the problem?

thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" 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]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux