From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F235448AC5 for ; Mon, 10 Nov 2025 02:12:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5FEB402E5; Mon, 10 Nov 2025 02:12:29 +0100 (CET) Received: from canpmsgout06.his.huawei.com (canpmsgout06.his.huawei.com [113.46.200.221]) by mails.dpdk.org (Postfix) with ESMTP id E70AA400D5; Mon, 10 Nov 2025 02:12:26 +0100 (CET) dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=nfpdDSH8uCzecm1Bc7UKswZyszJrl63ySejz7lH1UPQ=; b=SYEjS7o0yJo1TERYHkz95RRLgEEgTC19XsCF72pd9KEHScF1jrqiK9Cpi4uxUiNj+2PGHjqXW rFCjwogRMPsSljGOznSaXJPZ8VwHutr2sSFMlWTrI265ACn1U6bvwBvUhC9zIVKxE03xREVZF3J jutA9qS18PMJoKTx73zXapI= Received: from mail.maildlp.com (unknown [172.19.88.105]) by canpmsgout06.his.huawei.com (SkyGuard) with ESMTPS id 4d4WnM32CHzRhVq; Mon, 10 Nov 2025 09:10:47 +0800 (CST) Received: from kwepemk500009.china.huawei.com (unknown [7.202.194.94]) by mail.maildlp.com (Postfix) with ESMTPS id 02CEA140156; Mon, 10 Nov 2025 09:12:25 +0800 (CST) Received: from [10.67.121.161] (10.67.121.161) by kwepemk500009.china.huawei.com (7.202.194.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 10 Nov 2025 09:12:24 +0800 Message-ID: <372dab45-826c-4f55-8d6a-50f6a93fe2d6@huawei.com> Date: Mon, 10 Nov 2025 09:12:23 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v2 03/33] ethdev: fix variable shadowing issues To: Bruce Richardson , CC: , Thomas Monjalon , Andrew Rybchenko , Ferruh Yigit , Declan Doherty , Rosen Xu , Huisong Li , Konstantin Ananyev References: <20251106140948.2894678-1-bruce.richardson@intel.com> <20251107155034.436809-1-bruce.richardson@intel.com> <20251107155034.436809-4-bruce.richardson@intel.com> Content-Language: en-US From: fengchengwen In-Reply-To: <20251107155034.436809-4-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.121.161] X-ClientProxiedBy: kwepems100001.china.huawei.com (7.221.188.238) To kwepemk500009.china.huawei.com (7.202.194.94) X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Acked-by: Chengwen Feng On 11/7/2025 11:49 PM, Bruce Richardson wrote: > Remove unneeded extra variable definitions, and rename variables as > necessary to ensure clean compile with -Wshadow warnings enabled. > > Fixes: e489007a411c ("ethdev: add generic create/destroy ethdev APIs") > Fixes: 1bb4a528c41f ("ethdev: fix max Rx packet length") > Cc: stable@dpdk.org > > Signed-off-by: Bruce Richardson