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 A8C7FA0524 for ; Fri, 5 Feb 2021 12:20:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3BE41606BF; Fri, 5 Feb 2021 12:20:07 +0100 (CET) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mails.dpdk.org (Postfix) with ESMTP id B8DB81606C7 for ; Fri, 5 Feb 2021 12:20:06 +0100 (CET) Received: by mail-wr1-f42.google.com with SMTP id v15so7278318wrx.4 for ; Fri, 05 Feb 2021 03:20:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wUMar5bfSZvkSoLhseqy3uTZ/MZgM88P3Y4SGSBfues=; b=k9Zb3FiIuzd5Pmedy2UeOGALd/LhAh9jRJbUG2RlUIlp6X0PusmqEXGXXqzz/lress gIpd/E4p0CKulHQFbsVjVI8AE+GqsMVuIGri29R8dLnjEShzQ0KxKzTb6rZ0wGPhwZPi bIiRQOU8XXDWexNvpPohwUR0O75ugUa6LsrDT7LdylKOvVlT8a1+pc7u0ne+95FvEVi+ YJpgHz8Kx0cCWia5DmKaiyGnAZzjoCz4MjvMWH100TKRhPwpCgQ6HtQidMOShqEYbcJp m7n56SbX5LjI8r+RkQST/5dgueashAayBhM9V/ic+nJ3HrHRkMuiGr6yB67xm2mUGL8A jMSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wUMar5bfSZvkSoLhseqy3uTZ/MZgM88P3Y4SGSBfues=; b=J/5khDcScDIaERRG0a64y4F+W5/EXbVF+7+tnrJcyM5fKpOeea4B3qdUvcID1lRre6 QNOBIcxNNNBqjGYv01hA6xOfklBwlPBcRPJMPxn1awGuaJYUL2Cl5F1pm4uxAR9/+g4S 5D8yoRe6meqPTYprm7/pPnICuBF+3Iq/MyE9AIZgkW9tjLgFOFBL+CkLKZgQmcK9ujVm bAI6SJDHP/thlphSRMY+6oNyuWij7utDUwBuJO4MrRkasi6XzO7xWf9wLsXoIUV3VDj9 MUuTSP64WYZaaQfVEU5vZG87TxNSRUJjh4uYBgVHWMUVm7rnQAF0rUWeJ3KanJUbZxu8 T18g== X-Gm-Message-State: AOAM532+jHHt9a4RP/z1z2lvKr/7dBDtnOO4YJOYb6AgC0Aorsodvn5r NHhXtytgO80f/JyfSOA4TPc= X-Google-Smtp-Source: ABdhPJxnK8glPyThXFhpz/9SuLY5A9/J7jjiPXevj9YRfeH8OdPxIg6GfAVd0xVaWCmNwyVsRDNohA== X-Received: by 2002:a5d:60c2:: with SMTP id x2mr4636612wrt.248.1612524006540; Fri, 05 Feb 2021 03:20:06 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:7a8e:ed70:5c52:ea3]) by smtp.gmail.com with ESMTPSA id s23sm8401296wmc.35.2021.02.05.03.20.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:20:05 -0800 (PST) From: luca.boccassi@gmail.com To: Ferruh Yigit Cc: David Marchand , dpdk stable Date: Fri, 5 Feb 2021 11:15:00 +0000 Message-Id: <20210205111920.1272063-14-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210205111920.1272063-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'app/procinfo: remove useless memset' has been queued to stable release 20.11.1 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/07/21. 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/c5528cdad362677d1845c310c368f5b8d0026c7c Thanks. Luca Boccassi --- >From c5528cdad362677d1845c310c368f5b8d0026c7c Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Thu, 19 Nov 2020 11:58:53 +0000 Subject: [PATCH] app/procinfo: remove useless memset [ upstream commit c923be82e06844384c5a4b62df957bf4be6a0af3 ] The intention with the "sizeof(0)" usage is not clear, but the 'stats' already 'memset' by 'rte_cryptodev_stats_get()' API, removing 'memset' in application. Fixes: fe773600fe3e ("app/procinfo: add --show-crypto") Signed-off-by: Ferruh Yigit Reviewed-by: David Marchand --- app/proc-info/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index 8ee30ddb71..106b44d6fb 100644 --- a/app/proc-info/main.c +++ b/app/proc-info/main.c @@ -1207,7 +1207,6 @@ show_crypto(void) display_crypto_feature_info(dev_info.feature_flags); - memset(&stats, 0, sizeof(0)); if (rte_cryptodev_stats_get(i, &stats) == 0) { printf("\t -- stats\n"); printf("\t\t + enqueue count (%"PRIu64")" -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:29.957670480 +0000 +++ 0014-app-procinfo-remove-useless-memset.patch 2021-02-05 11:18:28.594687075 +0000 @@ -1 +1 @@ -From c923be82e06844384c5a4b62df957bf4be6a0af3 Mon Sep 17 00:00:00 2001 +From c5528cdad362677d1845c310c368f5b8d0026c7c Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit c923be82e06844384c5a4b62df957bf4be6a0af3 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org