]> git.baikalelectronics.ru Git - kernel.git/commit
usb: xhci: trace URB before giving it back instead of after
authorMathias Nyman <mathias.nyman@linux.intel.com>
Wed, 17 May 2017 15:31:59 +0000 (18:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 13:19:41 +0000 (15:19 +0200)
commitfdc0b6dbf4a5a28d4239fb8e3c3ce23ae1639bf1
tree8ab8eaafc6423ada11e7199261c152b2a96beeac
parentd77024dc2f1ace472d2944da6b468135357dc345
usb: xhci: trace URB before giving it back instead of after

Don't access any members of a URB after giving it back.
URB might be freed by then already.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c