On Mon, 19 Mar 2012, Ming Lei wrote: > This patch fixes one lockdep warning[1] inside usb_stor_pre_reset. > > If the current configuration includes multiple mass storage interfaces, > the 'AA' lockdep warning will be triggered since the lock class of > 'us->dev_mutex' is acquired two times in .reset path. It isn't > a real deadlock, so just take the lockdep_set_class annotation to > remove the warning. ... > Reported-By: Dave Jones <davej@xxxxxxxxxx> > Signed-off-by: Ming Lei <tom.leiming@xxxxxxxxx> > --- > v2: > -remove checks on config and fix code style > v1: > -use lockdep_set_class instead of mutex_lock_nested because > USB_MAXINTERFACES is larger than 8. > -fix key index computation Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> -- 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