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 9FF9346BAE for ; Fri, 18 Jul 2025 21:33:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 69C7840E35; Fri, 18 Jul 2025 21:33:09 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id AC62C40E2C for ; Fri, 18 Jul 2025 21:33:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1752867188; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IT8RC7Ii3IsQofULTsExFuZ1NJYN55/kjwAEqkWeDIM=; b=Sj1CORnS9EZD5mhBbo78UaKUo99s3LgqoYNVucP1fFGTClwSpVGmp1OSeFO3d9BGiOauNC tGPelbqkNesHXHPs/DJWvDLag/wIKCI3IuqKIC1KOpomGJygnLYik4SBN5Rgn07DGTlGfT 62Nn+KVObKd30AWtiMRrw2AIHeo8gvc= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-341-R_pYQuKoN9y4BuuZAIe2kQ-1; Fri, 18 Jul 2025 15:33:06 -0400 X-MC-Unique: R_pYQuKoN9y4BuuZAIe2kQ-1 X-Mimecast-MFC-AGG-ID: R_pYQuKoN9y4BuuZAIe2kQ_1752867186 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 039AC1944CC9; Fri, 18 Jul 2025 19:33:06 +0000 (UTC) Received: from rh.redhat.com (unknown [10.44.32.40]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 5368B180049D; Fri, 18 Jul 2025 19:33:04 +0000 (UTC) From: Kevin Traynor To: Bruce Richardson Cc: Anatoly Burakov , dpdk stable Subject: patch 'net/i40e/base: fix compiler warnings' has been queued to stable release 24.11.3 Date: Fri, 18 Jul 2025 20:28:59 +0100 Message-ID: <20250718193247.1008129-5-ktraynor@redhat.com> In-Reply-To: <20250718193247.1008129-1-ktraynor@redhat.com> References: <20250718193247.1008129-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: fpEnjJbmNLRmxjaEhjAAh8p18VpsyK5UL-IFaFv4MCQ_1752867186 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true 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 24.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/23/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://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/80ccbe927d5385807c60888cc24b8273175f7a41 Thanks. Kevin --- >From 80ccbe927d5385807c60888cc24b8273175f7a41 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 [ 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 @@ -35,5 +35,5 @@ 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); 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 @@ -12,17 +12,6 @@ sources = [ ] -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.50.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-07-18 20:29:11.353952112 +0100 +++ 0005-net-i40e-base-fix-compiler-warnings.patch 2025-07-18 20:29:10.805906948 +0100 @@ -1 +1 @@ -From e0a9cb8b940b539b68acc7d8221f9aeec0f20a82 Mon Sep 17 00:00:00 2001 +From 80ccbe927d5385807c60888cc24b8273175f7a41 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e0a9cb8b940b539b68acc7d8221f9aeec0f20a82 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -16,2 +17,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 +21 @@ -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 +23,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 @@ -31 +32 @@ -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 @@ -33,2 +34,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