projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c8766d
)
iommu/arm-smmu: fix decimal printf format specifiers prefixed with 0x
author
Hans Wennborg
<hans@hanshq.net>
Wed, 6 Aug 2014 04:42:01 +0000
(
05:42
+0100)
committer
Will Deacon
<will.deacon@arm.com>
Tue, 2 Sep 2014 09:04:42 +0000
(10:04 +0100)
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>
drivers/iommu/arm-smmu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/arm-smmu.c
b/drivers/iommu/arm-smmu.c
index ba9d7e52ed1a98576e639ee8829975fca062f332..1d69f147c924c3db9835f4685ea2c81d293d552c 100644
(file)
--- 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);