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 1C9ECA00C2 for ; Thu, 3 Nov 2022 10:32:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 170344069B; Thu, 3 Nov 2022 10:32:43 +0100 (CET) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mails.dpdk.org (Postfix) with ESMTP id 63F5A40694 for ; Thu, 3 Nov 2022 10:32:41 +0100 (CET) Received: by mail-wr1-f43.google.com with SMTP id j15so1747945wrq.3 for ; Thu, 03 Nov 2022 02:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=goOLSCPGEG87SZg0xfayNtYnY1pjAwly02d4JgEY5Zs=; b=qnj9IiJgxTVvFDyTD43iOvU8UaHPUY2XpM8GQXOdILwsvDyznb3+p7wMqUQ6IFN0Fn vtIrm3DHdsQ9W8EG6ERg3+tfVImn6zcQRvqNNMhQVMvqJdJztWpbHE5xPGjsIVp4JB2k 3AtGEMTGyWedk7ng+ST0chqjGZgWWz5XunwveRrwDUxK0IMgQQNV9gz0AN1unWzqde33 de2OnI1yRgWD6fXoiMYZ27j2yHPXHgDpDbLp7c8iAwqPUpVM5x7696SDmUJGaVdY1ra3 7StbK+x1GkfEBxMqkjoQwd0pCPNEPta2cQ8dyksIu3DI7io2broFziq2kBNWZsvTJAa+ eBZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=goOLSCPGEG87SZg0xfayNtYnY1pjAwly02d4JgEY5Zs=; b=rtCbVwqcDIQpHuuhliFFy9+WTkoQc57WF3+6PGUtQuabcj9e6G6z7zS30UM8ol9V6a aE1b5phbLms+Nnm+8MWig5Eoh36edFeUsKn4PM6orNUdCwoIGvsoIOaXIEccpaVVPNQo T2mMS9LQr3BhjLW6opKzXO3W53+2lZrKjJz+UHmPEHUKfAiSQUGjI7JiOZ2Q5O3uK2Ex 94qiSXIPZzOPneYcl+67YkMrvk/nxe1jZgiA5vfLGCJMZiS63PmHgm+bw6zRIfTfQyUR B+Q/yXhgtz7xXILxp6jv0XjQ7s1cFe/oKGqgvgaGSF29ZhK4Ez8dhkP+738dzuK3+w7i BG/Q== X-Gm-Message-State: ACrzQf07kKNeUTJ2mEgb3ICdN1LOlCioINWRaCjpIx72YA2Rqq1FzTW+ mKZ8O4yVO9jWV7mTxlB3qDwh1h/d+UwKCLzG X-Google-Smtp-Source: AMsMyM6cFCAhQpDNIu9z5+pi9FFTQwAGibiNsg8kudB5lkIIdkWjpqUz3pVqelSYpNHQdKS13w8eGw== X-Received: by 2002:a5d:6da2:0:b0:236:7916:a9b2 with SMTP id u2-20020a5d6da2000000b002367916a9b2mr18241996wrs.393.1667467961069; Thu, 03 Nov 2022 02:32:41 -0700 (PDT) Received: from localhost ([137.220.119.58]) by smtp.gmail.com with ESMTPSA id p21-20020a05600c359500b003cf47fdead5sm739361wmq.30.2022.11.03.02.32.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 02:32:40 -0700 (PDT) From: luca.boccassi@gmail.com To: Dongdong Liu Cc: dpdk stable Subject: patch 'net/hns3: fix build with gcov' has been queued to stable release 20.11.7 Date: Thu, 3 Nov 2022 09:27:40 +0000 Message-Id: <20221103092758.1099402-82-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221103092758.1099402-1-luca.boccassi@gmail.com> References: <20221103092758.1099402-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/05/22. 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/85c5d6e7d7176ab1de3bdb3b1b794077efa8bedf Thanks. Luca Boccassi --- >From 85c5d6e7d7176ab1de3bdb3b1b794077efa8bedf Mon Sep 17 00:00:00 2001 From: Dongdong Liu Date: Fri, 30 Sep 2022 15:22:08 +0800 Subject: [PATCH] net/hns3: fix build with gcov MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 38dc579e0f32d5b508f993cf017ce46806177e86 ] meson build -Db_coverage=true ninja -C build ../drivers/net/hns3/hns3_ethdev.c:2856:22: warning: ‘cfg.umv_space’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2856 | pf->wanted_umv_size = cfg.umv_space; Fix compiling warnings using gcc 10.3.1. Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index 500de265c4..be1d9db19d 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -3173,6 +3173,7 @@ hns3_get_board_configuration(struct hns3_hw *hw) struct hns3_cfg cfg; int ret; + memset(&cfg, 0, sizeof(cfg)); ret = hns3_get_board_cfg(hw, &cfg); if (ret) { PMD_INIT_LOG(ERR, "get board config failed %d", ret); -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-03 09:27:30.336075580 +0000 +++ 0082-net-hns3-fix-build-with-gcov.patch 2022-11-03 09:27:25.537425615 +0000 @@ -1 +1 @@ -From 38dc579e0f32d5b508f993cf017ce46806177e86 Mon Sep 17 00:00:00 2001 +From 85c5d6e7d7176ab1de3bdb3b1b794077efa8bedf Mon Sep 17 00:00:00 2001 @@ -8,0 +9,2 @@ +[ upstream commit 38dc579e0f32d5b508f993cf017ce46806177e86 ] + @@ -24 +26 @@ -index 330a913cb8..bbc086f21d 100644 +index 500de265c4..be1d9db19d 100644 @@ -27 +29 @@ -@@ -2808,6 +2808,7 @@ hns3_get_board_configuration(struct hns3_hw *hw) +@@ -3173,6 +3173,7 @@ hns3_get_board_configuration(struct hns3_hw *hw)