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 92C6146A63 for ; Thu, 26 Jun 2025 14:02:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AA32400D6; Thu, 26 Jun 2025 14:02:48 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2082.outbound.protection.outlook.com [40.107.95.82]) by mails.dpdk.org (Postfix) with ESMTP id E5B50400D6 for ; Thu, 26 Jun 2025 14:02:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=w/w62SK/VskfIGoWRWqAw82jxIuMenT722EatN9XQaGEIFIbW9y68qCNYkH/f4O00ECl4QsAnHX6ycoWm9usq3ZzGXAVnzvVeLNFuUGmb6RJrGHHz8M6ldEVFFSPgoPS1hNiiUmgPGEsijS1f9UOqyvQESGlRCdp6T6erN2dgOs3I3rN9vEiEtigs0Pfn6m1Wk6TkEWStMQAzsAH2qp7tHvj4dv3WN/+OQNqalSqbkaOf4Dp6sWaYsOBxQC4vAKtbeTQnVfKzuschjFAtg2zFaFgVbO8kZFpmqWO6QSMsYcnouQXreGjwx6OPGjRR8VDPvSk2eGtU/sJhGm2vmWGig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wfOYP0reKCYzkFg62yHl0eChxiHOzdCvfFC16qKaZTM=; b=ZHIsZ32HTVwKmxTX28FSli3caJY2FHCkfvAKKn4ATGTfDz1dixA8Ne90JQA89QeVi8Aqrm2JTpdnTxduvEtAq6auMnr1tHhxcn1blk4SMgKI6QLmDgbhGBKuQgWADKfYzHgcopVJ0YhybLvtnK3z6cQAJmBqZ/rga9t45RrBs5BtH0OcQU56HonJlVdi7sdtMqntLaF/GROa37gNUYqB9U7VZwOuUV6qbNNCGICMPOTZC6CK8SDdCuXOt358jHob0cd/oPQbdgK4S2LFqJhv1IU5AvwB6XHVfw6EDVkprxCMB/b5bky5Dq7YKH5CJ+xm3xj8DixyPkytn+/vgrAaNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wfOYP0reKCYzkFg62yHl0eChxiHOzdCvfFC16qKaZTM=; b=qFVYf+BJFLE7IgCpHes11pQzrAgpudMvMPiplwBKyB1IQjlMTNeaf11kKxcx3ggOw/IYTXI8CON8qVKuCjT8mytYQZU0a14lek4x72x/B8dA+11b0lUMGlRa51CdcLCMItTb56QCARuK+BP4ce8nVgX4UGtKu/w7lHra+Ia3fAXUD6Nq2HE0P58knsswGCDGvAaEqqh4i6pW9X+l+UyYlz6Pvj25LxODj8QYUpXH26D06B8bYnmsOo0Dv5SV3CFbgfVGciUszzxRZThqY34DL2ylWF8gcyWtzpm3gUdOqY+nnfq3u1gAwLOwJWVDjNnIHNH/s881PHZJZd+TEN5REQ== Received: from DS7PR05CA0035.namprd05.prod.outlook.com (2603:10b6:8:2f::18) by DS7PR12MB5933.namprd12.prod.outlook.com (2603:10b6:8:7c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8857.23; Thu, 26 Jun 2025 12:02:44 +0000 Received: from CY4PEPF0000EE39.namprd03.prod.outlook.com (2603:10b6:8:2f:cafe::bb) by DS7PR05CA0035.outlook.office365.com (2603:10b6:8:2f::18) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8901.10 via Frontend Transport; Thu, 26 Jun 2025 12:02:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CY4PEPF0000EE39.mail.protection.outlook.com (10.167.242.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8880.14 via Frontend Transport; Thu, 26 Jun 2025 12:02:44 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 26 Jun 2025 05:02:26 -0700 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.14; Thu, 26 Jun 2025 05:02:24 -0700 From: Xueming Li To: Bruce Richardson CC: Xueming Li , Anatoly Burakov , dpdk stable Subject: patch 'net/i40e/base: fix compiler warnings' has been queued to stable release 23.11.5 Date: Thu, 26 Jun 2025 20:00:26 +0800 Message-ID: <20250626120145.27369-7-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250626120145.27369-1-xuemingl@nvidia.com> References: <20250626120145.27369-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000EE39:EE_|DS7PR12MB5933:EE_ X-MS-Office365-Filtering-Correlation-Id: bdb35389-d01f-4f82-31dd-08ddb4a95c0c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|82310400026|376014|36860700013|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?6jOgjDRP0DWwVqMHZb9C3YNDOotrp9L1hh3FGm5/JcEAu3knr5zRuyV8pqN7?= =?us-ascii?Q?GHhaagQ3Nj5pazXN/GrlfUcyF9k+zuDt1eym+nCx7Mmc7NGS+KvUntiObuaw?= =?us-ascii?Q?5KvaBoT9Cc3aEuywvuMYJXT3SD9SH4iLKpZQ9Y1EXsNlx+Bp9ksjc3X7aLcN?= =?us-ascii?Q?MYZTHftqCwW3GbPDZ1c5sU+BMH9SAu2kPJAwU47K5CkqMb02KIRLY07N9YaU?= =?us-ascii?Q?64O5RFYgL50R1eClE7f+cUaGXR8GOkhQKaUH4Sz5Gmeu/yI5BxquwxHrJqBz?= =?us-ascii?Q?VYUETcHkPMkGI27q2N2uxhWeGWyYc1ulV4Z1pNSIHBBnkqfo1WPyOQE1685u?= =?us-ascii?Q?qJRzqdWD7J4HQsIgaGs1hwOB2zyA9gRnbEF57NCvEyHMkngssuukqKOciGne?= =?us-ascii?Q?ghs51GYZiHZfKbKcgJPTBgTpjkaAl7mVv7BDO2Y9mIuf9c8GCIPMLY78janU?= =?us-ascii?Q?XrRrbAePHfca6kKka6poP+aedGx1XmLATpyESc6N6ph7L44aDmlq3Maj3iq1?= =?us-ascii?Q?rXgir2PtSWheMUQNNaovbFrRHsNA7qKA7xXF4ZqV/OHa6u9TpnAKXpikkpHv?=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HP39KCWen1pxZajBoPzIk?= =?us-ascii?Q?Wp8+HRA9xQp/nnTYxvEmKEwtVTD/wAESlVFFTY11fLCXORFFCGjcagkvgw?= =?us-ascii?Q?=3D=3D?= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230040)(1800799024)(82310400026)(376014)(36860700013)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2025 12:02:44.2072 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bdb35389-d01f-4f82-31dd-08ddb4a95c0c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EE39.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5933 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 Hi, FYI, your patch has been queued to stable release 23.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/28/25. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=d881245235e7995290cfc1b09f352a72d3ceead0 Thanks. Xueming Li --- >From d881245235e7995290cfc1b09f352a72d3ceead0 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 28 Mar 2025 11:16:19 +0000 Subject: [PATCH] net/i40e/base: fix compiler warnings Cc: Xueming Li [ upstream commit e0a9cb8b940b539b68acc7d8221f9aeec0f20a82 ] Add a single-line fix to the base code, and then the remaining two compiler warning disable flags can be removed from the driver base code build file. Fixes: 8db9e2a1b232 ("i40e: base driver") Signed-off-by: Bruce Richardson Acked-by: Anatoly Burakov --- drivers/net/i40e/base/i40e_diag.c | 2 +- drivers/net/i40e/base/meson.build | 13 +------------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/net/i40e/base/i40e_diag.c b/drivers/net/i40e/base/i40e_diag.c index 4ca102cdd5..71b2e53e85 100644 --- a/drivers/net/i40e/base/i40e_diag.c +++ b/drivers/net/i40e/base/i40e_diag.c @@ -34,7 +34,7 @@ static enum i40e_status_code i40e_diag_reg_pattern_test(struct i40e_hw *hw, { const u32 patterns[] = {0x5A5A5A5A, 0xA5A5A5A5, 0x00000000, 0xFFFFFFFF}; u32 pat, val, orig_val; - int i; + unsigned int i; orig_val = rd32(hw, reg); for (i = 0; i < ARRAY_SIZE(patterns); i++) { diff --git a/drivers/net/i40e/base/meson.build b/drivers/net/i40e/base/meson.build index 2648e5d0c4..766383101b 100644 --- a/drivers/net/i40e/base/meson.build +++ b/drivers/net/i40e/base/meson.build @@ -11,18 +11,7 @@ sources = [ 'i40e_nvm.c', ] -error_cflags = [ - '-Wno-sign-compare', - '-Wno-strict-aliasing', -] -c_args = cflags -foreach flag: error_cflags - if cc.has_argument(flag) - c_args += flag - endif -endforeach - base_lib = static_library('i40e_base', sources, dependencies: static_rte_eal, - c_args: c_args) + c_args: cflags) base_objs = base_lib.extract_all_objects(recursive: true) -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-06-26 19:59:18.007514618 +0800 +++ 0006-net-i40e-base-fix-compiler-warnings.patch 2025-06-26 19:59:17.182418052 +0800 @@ -1 +1 @@ -From e0a9cb8b940b539b68acc7d8221f9aeec0f20a82 Mon Sep 17 00:00:00 2001 +From d881245235e7995290cfc1b09f352a72d3ceead0 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit e0a9cb8b940b539b68acc7d8221f9aeec0f20a82 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -16,2 +18,2 @@ - drivers/net/intel/i40e/base/i40e_diag.c | 2 +- - drivers/net/intel/i40e/base/meson.build | 13 +------------ + drivers/net/i40e/base/i40e_diag.c | 2 +- + drivers/net/i40e/base/meson.build | 13 +------------ @@ -20 +22 @@ -diff --git a/drivers/net/intel/i40e/base/i40e_diag.c b/drivers/net/intel/i40e/base/i40e_diag.c +diff --git a/drivers/net/i40e/base/i40e_diag.c b/drivers/net/i40e/base/i40e_diag.c @@ -22,2 +24,2 @@ ---- a/drivers/net/intel/i40e/base/i40e_diag.c -+++ b/drivers/net/intel/i40e/base/i40e_diag.c +--- a/drivers/net/i40e/base/i40e_diag.c ++++ b/drivers/net/i40e/base/i40e_diag.c @@ -33 +35 @@ -diff --git a/drivers/net/intel/i40e/base/meson.build b/drivers/net/intel/i40e/base/meson.build +diff --git a/drivers/net/i40e/base/meson.build b/drivers/net/i40e/base/meson.build @@ -35,2 +37,2 @@ ---- a/drivers/net/intel/i40e/base/meson.build -+++ b/drivers/net/intel/i40e/base/meson.build +--- a/drivers/net/i40e/base/meson.build ++++ b/drivers/net/i40e/base/meson.build