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 C3B4742CBC for ; Thu, 15 Jun 2023 03:34:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA2E342D3A; Thu, 15 Jun 2023 03:34:46 +0200 (CEST) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mails.dpdk.org (Postfix) with ESMTP id 1587242D2F for ; Thu, 15 Jun 2023 03:34:45 +0200 (CEST) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-4f62b512fe2so9997453e87.1 for ; Wed, 14 Jun 2023 18:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686792884; x=1689384884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FxBu1J3hw3eFT4R0/aeQuvZrmi3PJ+ew3PpeIGGqL5A=; b=EoSe1TEtRQVUDUwy0luhRx2keCCG7xwrnWOSqkzwPyZGLbjlpgDEKixNCUR1kSP7YX 8mx5pYeKhD5o6O2AThHdTIqhQ+B73f6OS8XM+pZ8ybyT5gn5qm9U6djVb3lZwVhd6xTB yPRV/QWq8iCMVNIGc59Iae2bqiUp1bAK9aLVmzXBfpGKpSK1/T+7k7SKpECTEdAZYd0t LiWZuIzEaf59Tu/fmsQ9AfSfHQcsaEULBsgtujWWVMEl3ise3wovWI77z6e1jk0zZJTJ kKIXhtxWi/fJQGcPemMDYMOpBh56tePsbZboOJssoCYx65wmsZ6C58l3JKaZIOUUhVfR owjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686792884; x=1689384884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FxBu1J3hw3eFT4R0/aeQuvZrmi3PJ+ew3PpeIGGqL5A=; b=AUHrbMeF2IAEfmnkooKj98tppLodZNMvj9h693zcfPcJB+aWhUBsz3im4SnsJqVkSl xxrj3dkWUNlZ5FrOZn/4SbuHiInURUAdzLnEuhK0Cu681JoSnkZkiBHfB7E92Hx20Slb ObzkIN40uRfFdNmugtbEnO0VqBuOdv02WRHmp4BM8ut95JzsUfytURWeElt6OLzOFVBY KWMh408NL0v16DHCAzskKwgKWlZQjdo7e35UpPf8B0KSSNjW2o8vwS6L9PHJTt9PmJaD 2R3Y9sC5KDQhZAVZAF8cq/TQ9eGM5FB9VFGlX1z58Um1km71E/bbDYSXqrW48e6heLRG fg5w== X-Gm-Message-State: AC+VfDxnzGo80s42C32mC+VhDkP5o6DMPCc0lE9dN3liSg5gVA/MVnnM DCuwW6MuBCTBNcC5eiMrRtslIOzlIFHN+Gb3 X-Google-Smtp-Source: ACHHUZ6beVacwMScnM392nl+E/1JjiQ85UK9gMa7AeTZb2Eo9+UQMHtAjEYqjCug3XrzgFBN3+65pg== X-Received: by 2002:a19:5f16:0:b0:4f6:25a3:95ab with SMTP id t22-20020a195f16000000b004f625a395abmr8076084lfb.25.1686792884322; Wed, 14 Jun 2023 18:34:44 -0700 (PDT) Received: from localhost ([137.220.119.58]) by smtp.gmail.com with ESMTPSA id m7-20020a7bca47000000b003f80b96097esm16270517wml.31.2023.06.14.18.34.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 18:34:43 -0700 (PDT) From: luca.boccassi@gmail.com To: Jie Hai Cc: Dongdong Liu , dpdk stable Subject: patch 'net/hns3: fix uninitialized variable' has been queued to stable release 20.11.9 Date: Thu, 15 Jun 2023 02:32:30 +0100 Message-Id: <20230615013258.1439718-35-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230615013258.1439718-1-luca.boccassi@gmail.com> References: <20230615013258.1439718-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 20.11.9 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/17/23. 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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/b184f7f728fea63a846b05c162b7dfc5bbf055a3 Thanks. Luca Boccassi --- >From b184f7f728fea63a846b05c162b7dfc5bbf055a3 Mon Sep 17 00:00:00 2001 From: Jie Hai Date: Fri, 2 Jun 2023 19:42:02 +0800 Subject: [PATCH] net/hns3: fix uninitialized variable [ upstream commit 156496da7a527e36066596a7be7758037b2541b4 ] This patch fixes possible use of uninitialized variable "old_tuple_fields". Fixes: e3069658da9f ("net/hns3: reimplement hash flow function") Signed-off-by: Jie Hai Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_flow.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c index 3bc6061f30..79910ff982 100644 --- a/drivers/net/hns3/hns3_flow.c +++ b/drivers/net/hns3/hns3_flow.c @@ -1934,8 +1934,9 @@ hns3_flow_set_rss_ptype_tuple(struct hns3_hw *hw, if (ret != 0) return ret; - hns3_info(hw, "RSS tuple fields changed from 0x%" PRIx64 " to 0x%" PRIx64, - old_tuple_fields, new_tuple_fields); + if (!cfg_global_tuple) + hns3_info(hw, "RSS tuple fields changed from 0x%" PRIx64 " to 0x%" PRIx64, + old_tuple_fields, new_tuple_fields); return 0; } -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-06-15 01:56:36.540321478 +0100 +++ 0035-net-hns3-fix-uninitialized-variable.patch 2023-06-15 01:56:34.615542352 +0100 @@ -1 +1 @@ -From 156496da7a527e36066596a7be7758037b2541b4 Mon Sep 17 00:00:00 2001 +From b184f7f728fea63a846b05c162b7dfc5bbf055a3 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 156496da7a527e36066596a7be7758037b2541b4 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index e132d88fa1..a5a7e452d8 100644 +index 3bc6061f30..79910ff982 100644 @@ -22 +23 @@ -@@ -1944,8 +1944,9 @@ hns3_flow_set_rss_ptype_tuple(struct hns3_hw *hw, +@@ -1934,8 +1934,9 @@ hns3_flow_set_rss_ptype_tuple(struct hns3_hw *hw,