[dpdk-dev] [PATCH] mem: fix handling return value

Thomas Monjalon thomas at monjalon.net
Fri Apr 27 23:38:17 CEST 2018


26/04/2018 10:10, Burakov, Anatoly:
> 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>

Applied, thanks




More information about the dev mailing list