From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] memalloc: fix variable shadowing Date: Mon, 14 Jan 2019 15:38:19 +0100 Message-ID: <7985468.kYbQig1sSX@xps> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stable@dpdk.org To: Anatoly Burakov Return-path: In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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: stable@dpdk.org > > Signed-off-by: Anatoly Burakov Applied, thanks