Skip to content

Commit 89edbe8

Browse files
nicolincwilldeacon
authored andcommitted
iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir
Fix a sparse warning. Fixes: 918eb5c ("iommu/arm-smmu-v3: Add in-kernel support for NVIDIA Tegra241 (Grace) CMDQV") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202410172003.bRQEReTc-lkp@intel.com/ Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20241021230847.811218-1-nicolinc@nvidia.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent 8e929cb commit 89edbe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ static int tegra241_cmdqv_init_structures(struct arm_smmu_device *smmu)
800800
return 0;
801801
}
802802

803-
struct dentry *cmdqv_debugfs_dir;
803+
static struct dentry *cmdqv_debugfs_dir;
804804

805805
static struct arm_smmu_device *
806806
__tegra241_cmdqv_probe(struct arm_smmu_device *smmu, struct resource *res,

0 commit comments

Comments
 (0)