[dpdk-dev] [PATCH] mem: fix handling return value
Burakov, Anatoly
anatoly.burakov at intel.com
Thu Apr 26 10:10:51 CEST 2018
On 26-Apr-18 9:06 AM, Jianfeng Tan wrote:
> resize_hugefile() returns either 0 (which indicates success) or -1
> (which indicates failure). We failed to check the success as we
> use --single-file-segments option.
>
> Fixes: 2a04139f66b4 ("eal: add single file segments option")
>
> Cc: Anatoly Burakov <anatoly.burakov at intel.com>
>
> Signed-off-by: Jianfeng Tan <jianfeng.tan at intel.com>
> ---
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
--
Thanks,
Anatoly
More information about the dev
mailing list