linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir
@ 2024-10-21 23:08 Nicolin Chen
  2024-10-22 13:29 ` Jason Gunthorpe
  2024-10-24 14:42 ` Will Deacon
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolin Chen @ 2024-10-21 23:08 UTC (permalink / raw)
  To: will
  Cc: thierry.reding, vdumpa, robin.murphy, joro, jonathanh, jgg,
	linux-tegra, linux-arm-kernel, iommu, linux-kernel, mochs

Fix a sparse warning.

Fixes: 918eb5c856f6 ("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>
---
 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,
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir
  2024-10-21 23:08 [PATCH] iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir Nicolin Chen
@ 2024-10-22 13:29 ` Jason Gunthorpe
  2024-10-24 14:42 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2024-10-22 13:29 UTC (permalink / raw)
  To: Nicolin Chen
  Cc: will, thierry.reding, vdumpa, robin.murphy, joro, jonathanh,
	linux-tegra, linux-arm-kernel, iommu, linux-kernel, mochs

On Mon, Oct 21, 2024 at 04:08:46PM -0700, Nicolin Chen wrote:
> Fix a sparse warning.
> 
> Fixes: 918eb5c856f6 ("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>
> ---
>  drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir
  2024-10-21 23:08 [PATCH] iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir Nicolin Chen
  2024-10-22 13:29 ` Jason Gunthorpe
@ 2024-10-24 14:42 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2024-10-24 14:42 UTC (permalink / raw)
  To: Nicolin Chen
  Cc: catalin.marinas, kernel-team, Will Deacon, thierry.reding, vdumpa,
	robin.murphy, joro, jonathanh, linux-tegra, linux-arm-kernel,
	iommu, linux-kernel, mochs, Jason Gunthorpe

On Mon, 21 Oct 2024 16:08:46 -0700, Nicolin Chen wrote:
> Fix a sparse warning.
> 
> 

Applied to will (for-joerg/arm-smmu/updates), thanks!

[1/1] iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir
      https://git.kernel.org/will/c/89edbe88db28

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-24 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21 23:08 [PATCH] iommu/tegra241-cmdqv: Staticize cmdqv_debugfs_dir Nicolin Chen
2024-10-22 13:29 ` Jason Gunthorpe
2024-10-24 14:42 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).