Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bab04e16 authored by Liam Mark's avatar Liam Mark
Browse files

iommu: arm-smmu: Initialize value of phys



Ensure that phys is initialized so that on error cases a consistent value
is returned.

Change-Id: I758acb659435a777e5abae4ef766d249736277d4
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent 74454aa8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4659,7 +4659,7 @@ static phys_addr_t qsmmuv500_iova_to_phys(
	struct arm_smmu_cfg *cfg = &smmu_domain->cfg;
	struct qsmmuv500_tbu_device *tbu;
	int ret;
	phys_addr_t phys;
	phys_addr_t phys = 0;
	u64 val, fsr;
	unsigned long flags;
	void __iomem *cb_base;