From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id D710C1B20A; Mon, 14 Jan 2019 15:38:21 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 53B782CEB7; Mon, 14 Jan 2019 09:38:21 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 14 Jan 2019 09:38:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=v4LhT/H72DHfl1p49QAhQxeO3RFuEkIkMsewSoiIsII=; b=Awao+rP1XI2O TDneDLTUPPhzDRS7owlhLOPKgbMyqhDO2eneq9oPxNZ4A9tOu7fb/CtDbq+ErX/x VTtdxEm0TGBG7u9s2UBceFFswM5POsuO3cgZezUgQUu5T3YfgsltdPPBId/H696k 0GUIEZBoztdihbg4CgDFPqqKNqGWEc8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=v4LhT/H72DHfl1p49QAhQxeO3RFuEkIkMsewSoiIs II=; b=Y025rG76UgwOAdXCgzdcN5KwfX8h5Wklm3/+ttSiJT1SZ1ebSl5m+EX0N DA0dRxfPybhhb5HqKbpXejRHkdxlmYl/ONp/zlADcMhoF4YfrQ5UQJVSDItqwnvP bfeVdz8GIHXn4KbAxawDOqyi9Snei5tLUsY4n/GGOSgOvfABVio65gtE7FuXPv+5 +b1czN+HJ2Q+ptz/sFiei6O9nWjaFap5Mxw2C2lp57m4VFv74NfwDHqzezF+f5R/ WPvqjis7k8aL/ONHFXPXNrIXkpKAYbZl08hQabvMdejyPsVqlq7E3udB1yeihVM7 6J6ybKW2mtOiSN8X6r4BF5j5LCvMg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgedugdeijecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfh gggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceo thhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfe drudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 501DC10087; Mon, 14 Jan 2019 09:38:20 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, stable@dpdk.org Date: Mon, 14 Jan 2019 15:38:19 +0100 Message-ID: <7985468.kYbQig1sSX@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] memalloc: fix variable shadowing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2019 14:38:22 -0000 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