Re: [dpdk-dev] [PATCH] memalloc: fix variable shadowing

2019-01-14 Thread Thomas Monjalon
08/01/2019 17:33, Anatoly Burakov: > A local variable ``flags`` was shadowing another variable from outer > scope. Fix this by renaming the variable and make it const. > > Fixes: c127be93f619 ("mem: support using memfd segments for in-memory mode") > Cc: sta...@dpdk.org > > Signed-off-by: Anatoly

[dpdk-dev] [PATCH] memalloc: fix variable shadowing

2019-01-08 Thread Anatoly Burakov
A local variable ``flags`` was shadowing another variable from outer scope. Fix this by renaming the variable and make it const. Fixes: c127be93f619 ("mem: support using memfd segments for in-memory mode") Cc: sta...@dpdk.org Signed-off-by: Anatoly Burakov --- lib/librte_eal/linuxapp/eal/eal_me