aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2022-12-08 19:00:58 +0800
committerGreg Kroah-Hartman <[email protected]>2022-12-08 16:43:12 +0100
commitc35ca10f53c51eeb610d3f8fbc6dd6d511b58a58 (patch)
tree0084dea0f761abbd81ed4c2c524e6d2aaeb10c00 /lib/mpi/mpiutil.c
parent82710ecd0e5d401c36ad21f00d644672005233b9 (diff)
usb: storage: Add check for kcalloc
As kcalloc may return NULL pointer, the return value should be checked and return error if fails as same as the ones in alauda_read_map. Fixes: e80b0fade09e ("[PATCH] USB Storage: add alauda support") Acked-by: Alan Stern <[email protected]> Signed-off-by: Jiasheng Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions