summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2021-04-06 10:02:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-06 11:16:55 +0200
commit8a157d2ff104d2849c58226a1fd02365d7d60150 (patch)
tree25039f22a517795949657bccb08a531a107ed2c8 /lib/mpi/mpi-pow.c
parentf70d436f000101876439ce25527a9939628c9518 (diff)
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>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions