Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/mpi: Add the return value check of kcalloc()
Add the return value check of kcalloc() to avoid potential NULL ptr dereference. Fixes: a8ea8bd ("lib/mpi: Extend the MPI library") Signed-off-by: Zizhuang Deng <[email protected]> Reviewed-by: Tianjia Zhang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information