From patchwork Sat Feb 12 10:02:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Cohen X-Patchwork-Id: 551631 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1CA2ipi029146 for ; Sat, 12 Feb 2011 10:02:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752052Ab1BLKCn (ORCPT ); Sat, 12 Feb 2011 05:02:43 -0500 Received: from mail-ew0-f46.google.com ([209.85.215.46]:41797 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750739Ab1BLKCm (ORCPT ); Sat, 12 Feb 2011 05:02:42 -0500 Received: by ewy5 with SMTP id 5so1713465ewy.19 for ; Sat, 12 Feb 2011 02:02:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=q2wOOY3VRCIuvqAl54wHuQPx8UeZwwFIUKNdLzGc4iE=; b=IKu38uyHynHCzY9aFO2n8FCCCSJSsjOlF1v5t1YxvNr579pWDQOiWjcs3Kb15AIa42 q5iH40O/Xh1Y8f6w7F28obQkOgS9epZfWnNvZNAjJqBukpocNSRvPsSGPNPNPZo3wjJH HUDKHCB5Tmtde1RRkQ5bPwsZl3VQnqn+I4+Fw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=jpVVeJc8HO2a1Wsub1qGorCstPnySR6enCxioQElas6zobf4x5ME4VFuOYAiuA+PtZ ddgqD5G/0R42T6+uVvSLrO7avFm7AD7xg9MAHAWWh4LR8R/YgrNL+i43++yTszOeGKbM UxL4z0UWu6j1aevG0ivaPAS86wzekz7CEunyw= Received: by 10.14.127.66 with SMTP id c42mr1518266eei.17.1297504960024; Sat, 12 Feb 2011 02:02:40 -0800 (PST) Received: from localhost.localdomain (a91-152-85-108.elisa-laajakaista.fi [91.152.85.108]) by mx.google.com with ESMTPS id t5sm271953eeh.8.2011.02.12.02.02.37 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Feb 2011 02:02:38 -0800 (PST) From: David Cohen To: Hiroshi.DOYU@nokia.com Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tony@atomide.com, David Cohen Subject: [PATCH] omap iommu: print module name on error messages Date: Sat, 12 Feb 2011 12:02:29 +0200 Message-Id: <1297504949-26233-1-git-send-email-dacohen@gmail.com> X-Mailer: git-send-email 1.7.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 12 Feb 2011 10:02:44 +0000 (UTC) diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c index b1107c0..f55f458 100644 --- a/arch/arm/plat-omap/iommu.c +++ b/arch/arm/plat-omap/iommu.c @@ -806,7 +806,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; } @@ -814,7 +814,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; }