projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef4815a
)
omap: iommu: print module name on error messages
author
David Cohen
<dacohen@gmail.com>
Thu, 24 Feb 2011 20:51:32 +0000
(12:51 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Thu, 24 Feb 2011 20:51:32 +0000
(12:51 -0800)
OMAP IOMMU generic layer doesn't need ot print function name during
error messages. Print module name instead which is more useful.
Signed-off-by: David Cohen <dacohen@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/plat-omap/iommu.c
b/arch/arm/plat-omap/iommu.c
index 3d8f55ea86667e37c03417b97c07fb785bf64f9c..4b3218eaf3e527af38202ec93f46936f98f2453a 100644
(file)
--- a/
arch/arm/plat-omap/iommu.c
+++ b/
arch/arm/plat-omap/iommu.c
@@
-809,7
+809,7
@@
static irqreturn_t iommu_fault_handler(int irq, void *data)
iopgd = iopgd_offset(obj, da);
if (!iopgd_is_table(*iopgd)) {
- dev_err(obj->dev, "%s: da:%08x pgd:%p *pgd:%08x\n",
__func__
,
+ dev_err(obj->dev, "%s: da:%08x pgd:%p *pgd:%08x\n",
obj->name
,
da, iopgd, *iopgd);
return IRQ_NONE;
}
@@
-817,7
+817,7
@@
static irqreturn_t iommu_fault_handler(int irq, void *data)
iopte = iopte_offset(iopgd, da);
dev_err(obj->dev, "%s: da:%08x pgd:%p *pgd:%08x pte:%p *pte:%08x\n",
-
__func__
, da, iopgd, *iopgd, iopte, *iopte);
+
obj->name
, da, iopgd, *iopgd, iopte, *iopte);
return IRQ_NONE;
}