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

Commit 70c9a7db authored by Hans Wennborg's avatar Hans Wennborg Committed by Will Deacon
Browse files

iommu/arm-smmu: fix decimal printf format specifiers prefixed with 0x



The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.

Found by using regex suggested by Joe Perches.

Signed-off-by: default avatarHans Wennborg <hans@hanshq.net>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 3c8766d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -634,7 +634,7 @@ static irqreturn_t arm_smmu_context_fault(int irq, void *dev)

	if (fsr & FSR_IGN)
		dev_err_ratelimited(smmu->dev,
				    "Unexpected context fault (fsr 0x%u)\n",
				    "Unexpected context fault (fsr 0x%x)\n",
				    fsr);

	fsynr = readl_relaxed(cb_base + ARM_SMMU_CB_FSYNR0);