On Mon, 18 Mar 2019, Matthew Wilcox wrote:

> Remove the usb_bus_idr_lock as it doesn't appear to be protecting
> anything more than the built-in XArray lock does.
> 
> Signed-off-by: Matthew Wilcox <wi...@infradead.org>
> ---
>  drivers/usb/core/devices.c      | 10 +++------
>  drivers/usb/core/hcd.c          | 40 ++++++++-------------------------
>  drivers/usb/core/usb.c          |  1 -
>  drivers/usb/host/r8a66597-hcd.c |  4 +---
>  drivers/usb/mon/mon_main.c      |  7 +++---
>  include/linux/usb/hcd.h         |  3 +--
>  6 files changed, 17 insertions(+), 48 deletions(-)

This certainly looks correct, but I haven't tested it.  If you get the
same data in /sys/kernel/debug/usb/devices with the patch and without
it, feel free to add:

Acked-by: Alan Stern <st...@rowland.harvard.edu>

Alan Stern

Reply via email to