Mathias Nyman 597899d2f7 xhci: check control context is valid before dereferencing it.
Don't dereference ctrl_ctx before checking it's valid.
Issue reported by Klockwork

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20210406070208.3406266-3-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-06 11:16:55 +02:00
..
2020-12-07 10:20:51 +01:00
2021-03-23 16:52:35 +01:00
2020-05-19 14:11:55 +02:00
2021-03-15 08:45:20 +01:00