diff options
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | 2014-02-13 02:44:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-15 21:26:14 +0100 |
commit | 2b54fa6bbef4dbc0beabcc989625204b608d062d (patch) | |
tree | 533d01d33fceebfd4dde0c241a003416cf7944fe /drivers/hid | |
parent | xhci-platform: Change compatible string from xhci-platform to generic-xhci (diff) | |
download | linux-2b54fa6bbef4dbc0beabcc989625204b608d062d.tar.xz linux-2b54fa6bbef4dbc0beabcc989625204b608d062d.zip |
usb: dwc2: fix dereference before NULL check
In a couple of places, we were checking qtd->urb for NULL after
we had already dereferenced it. Fix this by moving the check to
before the dereference.
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions