Skip to content

Commit

Permalink
omap: iommu: print module name on error messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Cohen authored and Tony Lindgren committed Feb 24, 2011
1 parent ef4815a commit 4111772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/plat-omap/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,15 +809,15 @@ 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;
}

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;
}
Expand Down

0 comments on commit 4111772

Please sign in to comment.