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 30213A0548 for ; Sun, 28 Nov 2021 15:57:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 213764068A; Sun, 28 Nov 2021 15:57:23 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2080.outbound.protection.outlook.com [40.107.94.80]) by mails.dpdk.org (Postfix) with ESMTP id 55F204068A for ; Sun, 28 Nov 2021 15:57:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L3/qf1ROFKS/5UNQV71A8S4xbGtsbq3YFPrdeIgegCKtJiwmcQtjgQ0xYc4kxDa8ehS/J4S+SDear7uoWvuNF/DSUK1ua2WkGMpUx9yDds59X4jnmbA7RRVUIQVRzD4idt2oZYpL58hVm77PBk2L97GLINMJF0vnC/aZlUypXM93eOkPp+Gi0xlkq5iC+rQ2e6Aqj5GaZIAsEpg8XJJt7rthZIKpBqEPZROcxtU8qXZCtPkJR8xi8rwf5TdzSgVgu2bIuv/vHIjx/vn8mwn9fa4vOUANm3xJbMx+Rfho7GOuP+lt1zTu2czFU/ykUtnbRguN2ILHwmDzaGTwr4o66w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0wQciMLS2Qku+gGfdrxjZNrq/9c30P5RWkZo1iiYpks=; b=ZJ86zSkX3XdBQ5ns8k/jIp6P/fwJiFjfPCw0rOvV5hnYjSWocQNKZdJGufGgIcGfw/dopHgWfqL++Tm6uU2fl7l9Evp89msCckYITya/08jSD1diPgZ8lt+EiiTfi5O9EV+dMnYfLeFbRqkrD11OQmw+7M8Pz1bZSFS4Q8gjfjXuAnUVyVhvdzMgZQkQaIplaOQQbW94CcvEI5b2M84o1fEq2joX3oN3SlFXdBfikB8r09H5yzQ5zWKWp0pPCuo5y90CfzQJ97y2Ao7OqRX9Qv3IAuFR5DthUj/xm91YbiCHpXUS4J+C86CrpZk0XAllyUhMdOV1oeSBp8hPXdxkhA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0wQciMLS2Qku+gGfdrxjZNrq/9c30P5RWkZo1iiYpks=; b=KusxDLk+PxbGD/7JW4MR5aFvf6d+E0Hq4wmMedTHmnxaFiJThiPGtXTyQMAFJT/30pJLE/ZQf7Z7bUnLW1ULr49nNXYkQjW337R1hOLO8abUl9QAA41thBTOaZCkRlY9u4OorLzAO+NZCZsjjFgtjEiozyND7xPB9f2xzPutypK6+2kHnk8bNYSTlG3Cls60SMi5tpjHbClLqWsPDbyDaPsXvsju+s2Smtetu4WMhruJ8dCe44XKZrPGhkonzvUauppSM12/5NTLUhJs0FMvESRQJj8fONcpVoFJNXPzqE4HHB1+zqgieqXpGfIwOMvUBYrmRI/xeVSLt38BYITmZw== Received: from DM5PR1401CA0014.namprd14.prod.outlook.com (2603:10b6:4:4a::24) by DM5PR12MB1339.namprd12.prod.outlook.com (2603:10b6:3:70::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22; Sun, 28 Nov 2021 14:57:18 +0000 Received: from DM6NAM11FT015.eop-nam11.prod.protection.outlook.com (2603:10b6:4:4a:cafe::89) by DM5PR1401CA0014.outlook.office365.com (2603:10b6:4:4a::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23 via Frontend Transport; Sun, 28 Nov 2021 14:57:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT015.mail.protection.outlook.com (10.13.172.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 14:57:18 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 28 Nov 2021 14:57:16 +0000 From: Xueming Li To: Conor Walsh CC: Luca Boccassi , Liang Longfeng , David Marchand , dpdk stable Subject: patch 'bus/fslmc: remove unused device count' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:53:24 +0800 Message-ID: <20211128145423.3974892-21-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128145423.3974892-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> <20211128145423.3974892-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 142bc866-573a-41af-956b-08d9b27f5fe3 X-MS-TrafficTypeDiagnostic: DM5PR12MB1339: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KnRPYlQmYmS6SX0ZEVEV+PW7A1YcIs/PjQrAabWUgTAAthqEsRFNfhdaChT5wS7kEf6BMmjrEFVkvDKpYS1lUicdDc0ujwxhde1R77/40mlVRfsvmhQ3WuRIPu6bcP2CFbx0HQpU+H3XBQ79mBHVDYizyksTaKQaS9fKr5Edw6IGvOVuu2QDTI/mxqMISTo2iFxrrnCnK7kToevRfK7bUU2q/OLKNjzzkmjqPFvX7wA0D+GAQg3l8qGlbkQaaTjI0UzgLEQ8lPD6vXKEmQ+uh+QLnkiB21k1IJILjViX+XRpgcc8ro/P0f1oYkqhz8QvFLYH6faFUyqb8YMWKq9CWh2UgythtCac5jBoxWc5gHLO1UGZOhP805eskybf9yx1DG10izqn0PkMjNhFsm0wBT8xMgluYsP2Xg+d9jYo+v2gI+vX4Je9GyFWhKzHhXuiMI550R0LKhJDlOfnKwRuFvgSvqtyFaW9OKyWzC+z4IwzwITNVvp6PQkRdCKAKZ+OqtQ26o3qTiTVkpc8rjstObkPI4oEhL253nvOedqpSzCrLxtLDhafPn5+9qJCtEYthbXGdp7sp+49Z89Uv9Sl8uav05LFfyybZOJjycsAmf0DHYejgvTzZjAa1/PeJD5DmExvDhUvRs7iWw6AE6w7KeqYrmo0Vfn8ahlIzW0Gu1ss+rV9W60rUSq9GIPJhnWMc/vhMsRLYb3Gep8mpBrdVTQcQwmjxZjEOzLcTNJtnZFb9s+CloBcNk9c+u5olUBDcjmvwNZB5RqleOR/l6oYetQBSI678+2dZ97qW/ob6D1p6kVKYYftkW4U4jtAnIHxlHq4jSlsb8C8detwfqoTng== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(5660300002)(86362001)(54906003)(70206006)(70586007)(6666004)(8936002)(316002)(8676002)(6916009)(4001150100001)(2906002)(1076003)(36860700001)(356005)(4326008)(36756003)(16526019)(966005)(7636003)(83380400001)(186003)(2616005)(336012)(47076005)(426003)(26005)(7696005)(53546011)(82310400004)(6286002)(55016003)(508600001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 14:57:18.7857 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 142bc866-573a-41af-956b-08d9b27f5fe3 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT015.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1339 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.4 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/30/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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/22ebe5378e9becc3582ef5ae7b5ee5ba9904c585 Thanks. Xueming Li --- >From 22ebe5378e9becc3582ef5ae7b5ee5ba9904c585 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 Cc: Xueming Li [ 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 58435589b2..d03ec1cd97 100644 --- a/drivers/bus/fslmc/fslmc_bus.c +++ b/drivers/bus/fslmc/fslmc_bus.c @@ -303,7 +303,6 @@ static int rte_fslmc_scan(void) { int ret; - int device_count = 0; char fslmc_dirpath[PATH_MAX]; DIR *dir; struct dirent *entry; @@ -337,7 +336,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-28 22:41:04.515805582 +0800 +++ 0020-bus-fslmc-remove-unused-device-count.patch 2021-11-28 22:41:03.230209276 +0800 @@ -1 +1 @@ -From 54d109b5643002d4368a7355af5fa623aede330a Mon Sep 17 00:00:00 2001 +From 22ebe5378e9becc3582ef5ae7b5ee5ba9904c585 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 54d109b5643002d4368a7355af5fa623aede330a ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -22 +24 @@ -index ac3cb4aa5a..a0ef24cdc8 100644 +index 58435589b2..d03ec1cd97 100644 @@ -25 +27 @@ -@@ -315,7 +315,6 @@ static int +@@ -303,7 +303,6 @@ static int @@ -33 +35 @@ -@@ -349,7 +348,6 @@ rte_fslmc_scan(void) +@@ -337,7 +336,6 @@ rte_fslmc_scan(void)