aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2020-03-26 16:08:32 +0100
committerJoerg Roedel <jroedel@suse.de>2020-03-27 11:14:51 +0100
commit0b242ebbb7fca818323d02d2bbb08ff7d425f594 (patch)
treeddf497c7676197ef96eee927eb3a2f3689feecbc /include/linux/iommu.h
parentiommu: Move iommu_fwspec to struct dev_iommu (diff)
downloadwireguard-linux-0b242ebbb7fca818323d02d2bbb08ff7d425f594.tar.xz
wireguard-linux-0b242ebbb7fca818323d02d2bbb08ff7d425f594.zip
iommu/arm-smmu: Fix uninitilized variable warning
Some unrelated changes in the iommu code caused a new warning to appear in the arm-smmu driver: CC drivers/iommu/arm-smmu.o drivers/iommu/arm-smmu.c: In function 'arm_smmu_add_device': drivers/iommu/arm-smmu.c:1441:2: warning: 'smmu' may be used uninitialized in this function [-Wmaybe-uninitialized] arm_smmu_rpm_put(smmu); ^~~~~~~~~~~~~~~~~~~~~~ The warning is a false positive, but initialize the variable to NULL to get rid of it. Signed-off-by: Joerg Roedel <jroedel@suse.de> Tested-by: Will Deacon <will@kernel.org> # arm-smmu Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Link: https://lore.kernel.org/r/20200326150841.10083-8-joro@8bytes.org
Diffstat (limited to 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions