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 1DEAFA0C41 for ; Tue, 30 Nov 2021 17:43:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 17DBB411A7; Tue, 30 Nov 2021 17:43:02 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id 8513D410F7 for ; Tue, 30 Nov 2021 17:43:00 +0100 (CET) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (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 smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 11B9840037 for ; Tue, 30 Nov 2021 16:43:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290580; bh=bkEiAYL2WSezW7pGQqpsKyPZlxHkMBUC/RUko7VaqXw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZsxMO/D1yb0jSMq6lplAn3lWLFooyNN3H/p/s05olFL14AqJ67oaIVdprmRzvroTZ JnefSYaflaDdtLSEdQSWxktGYwAmvBmPX/U45FfPDTCX0PfeeBCnYd3e0oFDVtNcp0 A15/uNlHFZGD7eIMUgOm6T/PmxEzcy2munpEa8j4p8Hql2WHzd+xB/fZBjhZFRZUv5 pEMcOBu8vfzs44U+8+D/j5iB282TYtdTGeqC9/NtXS7sxRk1OZjjse95o555jw+big ObL8hj1wYQIkbXU9BxFWDgsoFCmH6u5SC6iJvAobnSHzuejtmi3p7EHlR2dn7fvIla oYd/obGZlP9lQ== Received: by mail-ed1-f71.google.com with SMTP id n11-20020aa7c68b000000b003e7d68e9874so17482226edq.8 for ; Tue, 30 Nov 2021 08:43:00 -0800 (PST) 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=bkEiAYL2WSezW7pGQqpsKyPZlxHkMBUC/RUko7VaqXw=; b=rNlezuM+fCDR23v5Ks5fn21axHSv44uzAXd38aCz1OywRpUgMSN9tUf/Ysg2F+Z+Hx e5FP0d82wZGuD5mr+ik56KJurl42Vwl1jcWRoOwdYvHznP6IXmDL8fHfwapLpb33hnfE qBmyZeyKydbKTAmkfri8pKY5mCu8617vgnDnx3IncbPJ61kHNXdtH13gGYlPC6uD097F X019ygKaxHRRO70oQ2fqqejJx/CeTIIRoGyOdXNEpIychJq0D/kTOVTPadU+sDiANo6Q XPtvsFNVrjW4zp8D/ez+ZIAEnsY3fwomSxWejLTZDbPLcnNzEg6tid0duGSEMi0rL8zf 5ZSA== X-Gm-Message-State: AOAM533ubXjAusKKNVSitL2ljVSbq59IQOkDHLSH5rKkrT8b7UmaQ5t0 5jEEoZuzs1AqJ3+GPSJEhsKUtPSKUmMnqcis0TnlUd6dbRmleTFUhNfYo+XNLjnlNsGDGiIkrwT VdIwrMQSdfTYpVfEik1+UKGbO X-Received: by 2002:a17:907:94c2:: with SMTP id dn2mr191724ejc.325.1638290579698; Tue, 30 Nov 2021 08:42:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyoWr2fQbWywfdOkx6aohxI59+4Qf0EGTsJi4YRTCyRAutMWkAD90tEloZJRyGPWT9J2yPRYQ== X-Received: by 2002:a17:907:94c2:: with SMTP id dn2mr191707ejc.325.1638290579551; Tue, 30 Nov 2021 08:42:59 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id c8sm11188092edu.60.2021.11.30.08.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:42:59 -0800 (PST) From: christian.ehrhardt@canonical.com To: Conor Walsh Cc: Liang Longfeng , David Marchand , dpdk stable Subject: patch 'bus/fslmc: remove unused device count' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:35:38 +0100 Message-Id: <20211130163605.2460997-134-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-1-christian.ehrhardt@canonical.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 19.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/8b0fbea116a32034fe10bedb260aa1eb2859e3e6 Thanks. Christian Ehrhardt --- >From 8b0fbea116a32034fe10bedb260aa1eb2859e3e6 Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:51 +0000 Subject: [PATCH] bus/fslmc: remove unused device count [ upstream commit 54d109b5643002d4368a7355af5fa623aede330a ] Reported by clang 13. This patch removes the device_count variable from the rte_fslmc_scan function within the fslmc bus driver as it is an unused but set variable. Bugzilla ID: 881 Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Reviewed-by: David Marchand --- drivers/bus/fslmc/fslmc_bus.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c index 7431177f2e..727015fdc3 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -308,7 +308,6 @@ static int rte_fslmc_scan(void) { int ret; - int device_count = 0; char fslmc_dirpath[PATH_MAX]; DIR *dir; struct dirent *entry; @@ -342,7 +341,6 @@ rte_fslmc_scan(void) /* Error in parsing directory - exit gracefully */ goto scan_fail_cleanup; } - device_count += 1; } closedir(dir); -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:13.704246860 +0100 +++ 0134-bus-fslmc-remove-unused-device-count.patch 2021-11-30 16:50:05.970874851 +0100 @@ -1 +1 @@ -From 54d109b5643002d4368a7355af5fa623aede330a Mon Sep 17 00:00:00 2001 +From 8b0fbea116a32034fe10bedb260aa1eb2859e3e6 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 54d109b5643002d4368a7355af5fa623aede330a ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index ac3cb4aa5a..a0ef24cdc8 100644 +index 7431177f2e..727015fdc3 100644 @@ -25 +26 @@ -@@ -315,7 +315,6 @@ static int +@@ -308,7 +308,6 @@ static int @@ -33 +34 @@ -@@ -349,7 +348,6 @@ rte_fslmc_scan(void) +@@ -342,7 +341,6 @@ rte_fslmc_scan(void)