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 9D6C6A0032 for ; Fri, 18 Feb 2022 13:40:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 978FA40E28; Fri, 18 Feb 2022 13:40:15 +0100 (CET) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mails.dpdk.org (Postfix) with ESMTP id 057F840150 for ; Fri, 18 Feb 2022 13:40:14 +0100 (CET) Received: by mail-wm1-f45.google.com with SMTP id j9-20020a05600c190900b0037bff8a24ebso8504124wmq.4 for ; Fri, 18 Feb 2022 04:40:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4hVfLom0LwOmz/Y/KiJtP5AaqoNzcQ0BakrRTUaNqIU=; b=q5+xD4nsYaTYM+VQ1heGwx7JO4LR7OaLkegU7dYbW0dESyp8N+LQm39GCKrssPZ3nT SwXeUnxnqERd0DI1y7/fB97p/xgg6KhO1aNjt9b2o8qddovyvpGYUtqLy64W2k8Dc9PV uGWF0m/W0v6RfxAvMKJMqupnSXfv/g5Hs1xdC0DoSGz03zpb/Yz/fD2cf+EX830hCA68 y0tNlCI01GweqT+affG81JYywN7t/hrZ6Oc2/r/8w44VKRefPGss/m63SKinN1YvQz1b AZLxOS3CporRpy9bXTz0nv93nWWjhsv8xHVwPEX4X0iR4Y7m1vMqACzl2JMrpghkLE41 h9FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4hVfLom0LwOmz/Y/KiJtP5AaqoNzcQ0BakrRTUaNqIU=; b=4ypRZrUxlgaubU2QSe766AKTq69fXc3Q2GIR4DMeUbttcAHCwA3hEZ2iKu4eVJTU6O KJzaCbJgo1aCkuNOtZvx+dR2157HbawH66FdFNqyLQzyNiXue4es2/OX+NjEKWPiJzCS tp2WvHFPpCZ5IhmylJrGB8bf9JAyt3+zsGVr7eaVJB76CZtfLnwr/OIRv61Xm3IfXiHi fjGVGc3X4aTGZx2uRR1HFoI5NktS15n7gizbAe+QlZfyp5Kg7U7E50bSnNCIJG+xAGeV gsrTHVDpJG6YIL4fe39rzaMnkJaCGefbb2qPBAIqCE/pwuR4WslFEi/uf/OYwsdujp9I v/nQ== X-Gm-Message-State: AOAM5325BSyRvKgbbajxSGMtDyZl8lS6xxwF06OKHbmJfBLrf0uc392g fXg+JmtezISwWwziJ1ue+dA= X-Google-Smtp-Source: ABdhPJxeN0fFTmIeMfJy1g1uP1oX1oBCx9/4zSW/jGZO79rEkOM7qTYRngN7JWFLFE9LAUqNarRwLQ== X-Received: by 2002:a05:600c:2d16:b0:37b:f8ba:b769 with SMTP id x22-20020a05600c2d1600b0037bf8bab769mr6969128wmf.141.1645188013701; Fri, 18 Feb 2022 04:40:13 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id l20sm4633314wmq.22.2022.02.18.04.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 04:40:13 -0800 (PST) From: luca.boccassi@gmail.com To: Anatoly Burakov Cc: Devendra Singh Rawat , Igor Russkikh , Rasesh Mody , dpdk stable Subject: patch 'net/qede: fix redundant condition in debug code' has been queued to stable release 20.11.5 Date: Fri, 18 Feb 2022 12:37:42 +0000 Message-Id: <20220218123931.1749595-13-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220218123931.1749595-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-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.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 02/20/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/793c8206207f54ebaf20c96945edf248c6c503c6 Thanks. Luca Boccassi --- >From 793c8206207f54ebaf20c96945edf248c6c503c6 Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Tue, 30 Nov 2021 16:59:13 +0000 Subject: [PATCH] net/qede: fix redundant condition in debug code [ upstream commit 6caee3fb5f7b45ca7a676d77f678cafc4984defa ] Expression "a && 1" is equivalent to just "a", so fix the accidental inclusion of a literal in code. Fixes: ec55c118792b ("net/qede: add infrastructure for debug data collection") Signed-off-by: Anatoly Burakov Acked-by: Devendra Singh Rawat Reviewed-by: Igor Russkikh Acked-by: Rasesh Mody --- drivers/net/qede/qede_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_debug.c b/drivers/net/qede/qede_debug.c index af86bcc692..9383a6d677 100644 --- a/drivers/net/qede/qede_debug.c +++ b/drivers/net/qede/qede_debug.c @@ -3522,7 +3522,7 @@ static enum dbg_status qed_grc_dump(struct ecore_hwfn *p_hwfn, /* Dump MCP HW Dump */ if (qed_grc_is_included(p_hwfn, DBG_GRC_PARAM_DUMP_MCP_HW_DUMP) && - !qed_grc_get_param(p_hwfn, DBG_GRC_PARAM_NO_MCP) && 1) + !qed_grc_get_param(p_hwfn, DBG_GRC_PARAM_NO_MCP)) offset += qed_grc_dump_mcp_hw_dump(p_hwfn, p_ptt, dump_buf + offset, dump); -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-18 12:37:38.678817892 +0000 +++ 0013-net-qede-fix-redundant-condition-in-debug-code.patch 2022-02-18 12:37:37.518788079 +0000 @@ -1 +1 @@ -From 6caee3fb5f7b45ca7a676d77f678cafc4984defa Mon Sep 17 00:00:00 2001 +From 793c8206207f54ebaf20c96945edf248c6c503c6 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 6caee3fb5f7b45ca7a676d77f678cafc4984defa ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org