Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mem: check allocation in dynamic hugepage init
[ upstream commit 5f69ebb ] The function malloc() could return NULL, the return value need to be checked. Fixes: 6f63858 ("mem: prevent preallocated pages from being freed") Signed-off-by: Yunjian Wang <wangyunjian@huawei.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
- Loading branch information