summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2024-10-29 15:58:24 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-09 10:40:56 +0100
commit259449873c37da3067822b1608ab04ceee985a89 (patch)
tree4633f9ea4acd68504ce6ba85871f837e63987474 /include/uapi/linux
parenta6f9e7a0bf1185c9070c0de03bb85eafb9abd650 (diff)
downloadlinux-259449873c37da3067822b1608ab04ceee985a89.tar.gz
linux-259449873c37da3067822b1608ab04ceee985a89.tar.bz2
linux-259449873c37da3067822b1608ab04ceee985a89.zip
iommu/tegra241-cmdqv: Fix unused variable warning
commit 5492f0c4085a8fb8820ff974f17b83a7d6dab5a5 upstream. While testing some io-pgtable changes, I ran into a compiler warning from the Tegra CMDQ driver: drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c:803:23: warning: unused variable 'cmdqv_debugfs_dir' [-Wunused-variable] 803 | static struct dentry *cmdqv_debugfs_dir; | ^~~~~~~~~~~~~~~~~ 1 warning generated. Guard the variable declaration with CONFIG_IOMMU_DEBUGFS to silence the warning. Signed-off-by: Will Deacon <will@kernel.org> Cc: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions