From patchwork Mon Oct 21 23:08:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolin Chen X-Patchwork-Id: 13844831 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CECA8D17142 for ; Mon, 21 Oct 2024 23:11:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=vBBx6ucmCPHgdM14Cm9fhaj2Z7ZEuzt6RmJ7fuKaUOk=; b=QVhfUDJwi3gkphA+LCRcqrzvuc ooi4PNZMjg3MvIMF3MOoKVvZbyVAM3IgZQE3/5U1P+LByn2umSU1Isx2ias14Mp8YWkPtlBg6NM8y n0lvGSxID1VWjj7yCkA2EB2zQwKI2fHOA9S5HksPHRMm5okeF+bsl40qzMQ2h1r2df9MVSBgM/v8R 3fBYiV1RPVxmPBzcQtg/f+CqBtszSd7Yn+l4AHGzT+tA2jV6Beu7C6/x4JtM6jFU1/1OJqEv/rYI8 eZgi7fvuKcwSzEv+2YHZgX/KauiVNFn7+aq+VdHOlMsnSv2bSSutg+RsYgO8ZjSbag459hA657m/8 40tMwIbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t31Ys-00000008uwl-3Dqn; Mon, 21 Oct 2024 23:11:43 +0000 Received: from mail-co1nam11on20622.outbound.protection.outlook.com ([2a01:111:f403:2416::622] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t31WS-00000008uaF-3pAM for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 23:09:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GGKjefCo2K4aOzzGQHxYot0zNglkM6+j8EvTezUBPGrmILjcNuylLNJAwjYxXfpLVWc02Pw3WSbcTZOnlU/RFSPEEQqVhoauMjAaA3Pw34X8a4/IeNalH3p8FZ3sNfkKyEgPQnHe5TSIXWhBzS/qN0TEL1xUYIPbKbzPB2GAXfQKh1kFpjFY1HTIh6uFTx6LxsaOiyezPRI/7I8E3/QhrEW14g5+Gd9FxI8EUOnK5QqBECwS4chuq9jotHEqWoP4zpnv24cK7x2WOxmbxe4n6iBt6nnThJcf4ts6ObZTQGpz0K2Mnhu9+1wVswHWVvcVHeACBL2QDgdf6DSMMwV2jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=vBBx6ucmCPHgdM14Cm9fhaj2Z7ZEuzt6RmJ7fuKaUOk=; b=VI4K3Gc2l0SorLevHfofLB/h6PvPsdBzfE7Xr3VJXOERqnPXI3nV5NKXUIX+xaIsnYBTo/2C27Lbavp96Va4arsWZGKKTs2tP0IOmhPSFcoIvtcFGZfv/cGnvqc+jXmSXpKquIaksBJakc5c54i1TL+hGHvy+n9uZXtohUA48jD5cmySHv91g3wpDEWk5Uw5EtNsqoAmpiFYrLUjhVUd8yWTSbzV1R10Y48hZW/Otr8AG37CMUinMErQYKXRNaM9ypgeHAaOPsT9rUT8d9bQCWQQqe9Y/HylNUX+/YUVDlclLDriG1lzd+oxwrkv3PnL7cYyc7VOcuOh5NlxPWemsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) 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=vBBx6ucmCPHgdM14Cm9fhaj2Z7ZEuzt6RmJ7fuKaUOk=; b=g+E98ERKzDHxuUpNNt7YLWVOk/l1ce+veazfDHUJY12ejQGdyu9g5B42IoqSgL27FBDvY432addui7/to8f331atTIkcs6fg0XuF9FZEe8JPknFeee2QQ9H0ztBcFiINsilAER295PdAHY80OQmz8gCPTZpNBnkNkJPssqsXdxdsvmiGbGCMOrja3ahgAZ5XlCp5+7edTWE7BNLZWOR5YsNg27h9CpB9UIzMdpYsxIhYzOzC8pFxKIqwfwD5T4PcG77OV16GrS7xt+bjLJUWaSvb2GPD/IjZkKq/7fQUdZzHi1r0SAPkEV7N2R8TMzaOc5UhsqXvjkb3uewRKv4u3A== Received: from SJ0PR13CA0186.namprd13.prod.outlook.com (2603:10b6:a03:2c3::11) by IA1PR12MB8309.namprd12.prod.outlook.com (2603:10b6:208:3fe::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.27; Mon, 21 Oct 2024 23:09:06 +0000 Received: from MWH0EPF000989E9.namprd02.prod.outlook.com (2603:10b6:a03:2c3:cafe::85) by SJ0PR13CA0186.outlook.office365.com (2603:10b6:a03:2c3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.15 via Frontend Transport; Mon, 21 Oct 2024 23:09:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by MWH0EPF000989E9.mail.protection.outlook.com (10.167.241.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.14 via Frontend Transport; Mon, 21 Oct 2024 23:09:05 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 21 Oct 2024 16:08:50 -0700 Received: from rnnvmail205.nvidia.com (10.129.68.10) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 21 Oct 2024 16:08:50 -0700 Received: from Asurada-Nvidia.nvidia.com (10.127.8.9) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 21 Oct 2024 16:08:49 -0700 From: Nicolin Chen To: CC: , , , , , , , , , , Subject: [PATCH] iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir Date: Mon, 21 Oct 2024 16:08:46 -0700 Message-ID: <20241021230847.811218-1-nicolinc@nvidia.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000989E9:EE_|IA1PR12MB8309:EE_ X-MS-Office365-Filtering-Correlation-Id: 27689047-0f6b-42e5-b712-08dcf2255c61 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info: FBLnAFr/fo+HSNshMNt6bSgSHAsd6DGEZG7L80KVs4QFyw1oPUTJsVF1zrpWY1A7VzNIBm1d3rE6hTW0pwYxGIk+fAKF7ITiwDQHfEnklqfbFXwB2BJgtlcpEBaDFTk1WkB4kQSAQiYF9rdmlxNNAIOht2Gs8YCVZBGfssFCWqO0XMiooFVQeUmLMJbOPAGumTYF3397c0/aZ1awK9yvaUBP13Cn7iUGoU84UqkwEdzVyppupQCLwdt5xT6NZ/QlFEaohPPaM5f19qfWkjz1tNjqohgPC2W7nXctoTiDfqyP0R7RItCT2M4gLv3zA5Dnv4DE8i0vzDdndCTjF4CggAXFioC2h6TLS2NsUHQP52Dnzb3zsFK1vmFb3Ia5bjBeIH1UkEcbtznxAkThL/rxyrNF5EG1pYM2U3bcng+mwy/DxiS2HrY0k9R9RTT5Mn8OiLG6adDXTYhc7NFTYdGdjZtNgztJqmVN5pVBjIU21H8y5rUrXyo1SEDVh4ZUhb94E5XqRjNtuA9ZwoOfePOVprKC3DO2mCTBctSoGkdzzeZ36y8cOEpzQ5CLnwzrxTXQAh19Pb+P5EEMUq+iOn/BItHKC/wTbP24h3FO95L82PbxycFVyHK+Znc8DZiAu3NtimV8zoPtIQ0MLnVAIhnD2jy/Zy2NGtpHJyXfGxVNE+ddCJZsGUtdeC6Qp4UBuHOdBFotP39QCqgxiAxG3bMIv2Ev0vqZo6RJ0J37vmPr8Uf3VD8HkT4zS0Y0lh7rYsYMh0M3jtZQG+2s4oPdUd0DzgnnHY4p3jLfkl3aTM7f73Y8voH8E0pxWJ7K/zBn1TczmN4emWgdq22OiBXzSyuOd5XN8JyGKifYzgp7uMpJFI5tVQUfpQn7DSrCR4p0Lw8SVNpAkzMiR+uNBkxWTkP7jNFGRTU9E/Y9gEevSFcvnxK40Jc+EkVnWKVPAJoIeEn5/t+JwgKKEXFL5jSXQP+c08zafR4PR5+OAnMKZ3qaq8VYw+ZOeJknMreGhI/Xf0FfIqILax6lyr6/glOUinUqRN2nufJCbcimyG7NDK0ffFu1TJJ262l1yXQseSDhd/7uhtkHibkXo+fTTTp/RRFDp4oaK/MlrNuvoPntwiDmd6+3fLXuMaeUlZZ4qKDA1Vk2qv6YiNCkblzLHAGmMDkCQylcZ+9is1WwTRvp+7Ex94X3O944FiNn8idpemcCXEx9NZ2MyqJIkH+/SNAFrMzPiklMTMH7qSUXz/fgsPoW3/YMWgCofRKwWB6B6k09TOEU630FGMvuZJOq1gJZ311ZZzTxsvPmHYGsoyICcTBMOrsM3xzG1uk2N4FQ4IhpddR4d8gh32wKG6yQSY6F820TgI4RB/VgrfWs1IvEHI3jiedfs3ebW99cHMZ3twL2mh6nOmlyCq19bm9viq0D4ksxDQ== X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 23:09:05.5824 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 27689047-0f6b-42e5-b712-08dcf2255c61 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000989E9.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8309 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_160912_979869_C1AFBD9E X-CRM114-Status: GOOD ( 10.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix a sparse warning. Fixes: 918eb5c856f6 ("iommu/arm-smmu-v3: Add in-kernel support for NVIDIA Tegra241 (Grace) CMDQV") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202410172003.bRQEReTc-lkp@intel.com/ Signed-off-by: Nicolin Chen Reviewed-by: Jason Gunthorpe --- drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c b/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c index fcd13d301fff..a243c543598c 100644 --- a/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c +++ b/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c @@ -800,7 +800,7 @@ static int tegra241_cmdqv_init_structures(struct arm_smmu_device *smmu) return 0; } -struct dentry *cmdqv_debugfs_dir; +static struct dentry *cmdqv_debugfs_dir; static struct arm_smmu_device * __tegra241_cmdqv_probe(struct arm_smmu_device *smmu, struct resource *res,