usb: xhci: trace URB before giving it back instead of after
authorMathias Nyman <[email protected]>
Wed, 17 May 2017 15:31:59 +0000 (18:31 +0300)
committerGreg Kroah-Hartman <[email protected]>
Thu, 18 May 2017 13:19:41 +0000 (15:19 +0200)
commit7bc5d5aff356f3ba16c4d1e9eaf95cc99b7574ab
tree8ab8eaafc6423ada11e7199261c152b2a96beeac
parent5120a266928a07231d198bb518f6fe73148786a3
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/host/xhci-ring.c