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

Commit 51106fb3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: arm-smmu: Fix uninitialized variable"

parents 9e0d33a9 4ea4bdf9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3563,6 +3563,7 @@ static int arm_smmu_handoff_cbs(struct arm_smmu_device *smmu)

		raw_s2cr = readl_relaxed(ARM_SMMU_GR0(smmu) +
					ARM_SMMU_GR0_S2CR(i));
		memset(&s2cr, 0, sizeof(s2cr));
		s2cr.group = NULL;
		s2cr.count = 1;
		s2cr.type = (raw_s2cr >> S2CR_TYPE_SHIFT) & S2CR_TYPE_MASK;