Re: [PATCH 1/1] usb: xhci: move slot_id from xhci_hcd to xhci_command structure

2016-11-07 Thread Mathias Nyman
On 07.11.2016 09:30, Lu Baolu wrote: xhci->slot_id is used for providing a way to pass slot id from the command completion handler to the funtion waiting for completion. It's shared by enumerations of all USB devices connected to an xhci host. Hence, it's a source for possible races. Since we've

[PATCH 1/1] usb: xhci: move slot_id from xhci_hcd to xhci_command structure

2016-11-06 Thread Lu Baolu
xhci->slot_id is used for providing a way to pass slot id from the command completion handler to the funtion waiting for completion. It's shared by enumerations of all USB devices connected to an xhci host. Hence, it's a source for possible races. Since we've introduced command structure and the