Mathias Nyman 8a157d2ff1 xhci: check port array allocation was successful before dereferencing it
return if rhub->ports is null after rhub->ports = kcalloc_node()
Klockwork reported issue

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20210406070208.3406266-2-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-23 16:52:35 +01:00
2021-03-15 08:45:20 +01:00