Re: [dpdk-dev] [PATCH 1/1] mem: check allocation in dynamic hugepage init

2022-02-10 Thread David Marchand
On Sat, Feb 5, 2022 at 6:29 PM David Marchand wrote: > > On Tue, Dec 14, 2021 at 2:30 PM Yunjian Wang wrote: > > > > The function malloc() could return NULL, the return value > > need to be checked. > > > > Fixes: 694161b7e065 ("mem: extract common dynamic memory allocation") That's actually int

Re: [dpdk-dev] [PATCH 1/1] mem: check allocation in dynamic hugepage init

2022-02-05 Thread David Marchand
On Tue, Dec 14, 2021 at 2:30 PM Yunjian Wang wrote: > > The function malloc() could return NULL, the return value > need to be checked. > > Fixes: 694161b7e065 ("mem: extract common dynamic memory allocation") > Cc: sta...@dpdk.org > > Signed-off-by: Yunjian Wang Reviewed-by: David Marchand --