Zizhuang Deng dd827abe29 lib/mpi: Add the return value check of kcalloc()
Add the return value check of kcalloc() to avoid potential
NULL ptr dereference.

Fixes: a8ea8bdd9df9 ("lib/mpi: Extend the MPI library")
Signed-off-by: Zizhuang Deng <sunsetdzz@gmail.com>
Reviewed-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-01-07 14:30:01 +11:00
..
2020-10-30 17:34:45 +11:00
2021-07-01 11:06:05 -07:00
2020-09-25 17:48:53 +10:00
2020-09-25 17:48:53 +10:00
2020-09-25 17:48:53 +10:00
2020-07-31 18:08:59 +10:00
2021-07-01 11:06:05 -07:00
2020-09-25 17:48:53 +10:00
2021-08-12 19:17:00 +08:00