summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-06 05:42:01 +0100
committerWill Deacon <will.deacon@arm.com>2014-09-02 10:04:42 +0100
commit70c9a7db93a152e975c4158b944c6b50579415c2 (patch)
treec10f9a77dcd1de410090201c763bc1c7f7d0f3ed /drivers/iommu
parent3c8766d0ca9618a406b0a1ecc29147820e93d984 (diff)
downloadtalos-op-linux-70c9a7db93a152e975c4158b944c6b50579415c2.tar.gz
talos-op-linux-70c9a7db93a152e975c4158b944c6b50579415c2.zip
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: Hans Wennborg <hans@hanshq.net> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/arm-smmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index ba9d7e52ed1a..1d69f147c924 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
@@ -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);
OpenPOWER on IntegriCloud