From patchwork Wed Jan 7 15:44:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 5585391 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BCB6E9F443 for ; Wed, 7 Jan 2015 15:45:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DFC0220221 for ; Wed, 7 Jan 2015 15:45:47 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9D2A420263 for ; Wed, 7 Jan 2015 15:45:40 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id C2B3326512A; Wed, 7 Jan 2015 16:45:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id DED2F264FF6; Wed, 7 Jan 2015 16:45:05 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id B449F264FF6; Wed, 7 Jan 2015 16:45:04 +0100 (CET) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by alsa0.perex.cz (Postfix) with ESMTP id BA83926059A for ; Wed, 7 Jan 2015 16:44:57 +0100 (CET) Received: by mail-vc0-f178.google.com with SMTP id hq11so584434vcb.9 for ; Wed, 07 Jan 2015 07:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eFozNkVbIwlDrwU/T41aLp7PFeLOyXI5KJlpEOxMawo=; b=svz5QC20VgbNZzRQBHbIKpRd1m7fhN6uVCGXrgyme4bwUdK5w3JvHcfmC0OpW3zvuK 7DTiPgghgYOACTjB0S0+rNO4HQu0BvNShd+F1qw1EajOh9K1gzPwFcntcB1QAaAf0hek cN2+hCa60qShqmENnkOBhvYyZ2d30Cy8mJzEJq8vq09xvoZ8OOCMpRM9fcUrVBdlPZ05 NxkwWLB8ou8JPS4verq4L0lH2WD7jimX+qFj3he9tiea9Q/bT+85lHyTMFOBFslULHN2 k4nfSjU0R6nafO6WQW5HmB8E0kVjdMlEg58RQPV21fqHSdheoKqhCxB2iZMnLOb7mD0K 54WQ== X-Received: by 10.52.165.10 with SMTP id yu10mr2710580vdb.3.1420645497089; Wed, 07 Jan 2015 07:44:57 -0800 (PST) Received: from localhost.localdomain ([179.159.214.140]) by mx.google.com with ESMTPSA id qf19sm518422vdb.26.2015.01.07.07.44.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jan 2015 07:44:56 -0800 (PST) From: Fabio Estevam To: broonie@kernel.org Date: Wed, 7 Jan 2015 13:44:33 -0200 Message-Id: <1420645476-13193-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1420645476-13193-1-git-send-email-festevam@gmail.com> References: <1420645476-13193-1-git-send-email-festevam@gmail.com> Cc: nicoleotsuka@gmail.com, Fabio Estevam , alsa-devel@alsa-project.org Subject: [alsa-devel] [PATCH 2/5] ASoC: fsl_asrc: Make error message concise X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam Currently the error message uses 'np->full_name' which leads to a very verbose log that contains the full path of the node. We can have a concise log by using pdev->name instead. Signed-off-by: Fabio Estevam --- sound/soc/fsl/fsl_asrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c index 5326ca7..c068494 100644 --- a/sound/soc/fsl/fsl_asrc.c +++ b/sound/soc/fsl/fsl_asrc.c @@ -836,7 +836,7 @@ static int fsl_asrc_probe(struct platform_device *pdev) irq = platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(&pdev->dev, "no irq for node %s\n", np->full_name); + dev_err(&pdev->dev, "no irq for node %s\n", pdev->name); return irq; }