From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: Re: [PATCH 2/2] ASoC: fsl_dma: Do not use 'full_name' node reference Date: Wed, 07 Jan 2015 11:54:07 -0600 Message-ID: <54AD72BF.20805@tabi.org> References: <1420651312-21671-1-git-send-email-festevam@gmail.com> <1420651312-21671-2-git-send-email-festevam@gmail.com> <54AD6C55.7030600@metafoo.de> <54AD6C92.7060007@tabi.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from muin.pair.com (muin.pair.com [209.68.1.55]) by alsa0.perex.cz (Postfix) with ESMTP id 4634026053B for ; Wed, 7 Jan 2015 18:54:10 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Fabio Estevam Cc: Fabio Estevam , Mark Brown , Lars-Peter Clausen , "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org Fabio Estevam wrote: > - dev_err(&pdev->dev, "could not determine resources for %s\n", > - ssi_np->full_name); > + dev_err(&pdev->dev, "could not determine resources: %d\n", ret); I remember now why I did this, and I might need to NACK this patch. ssi_np->full_name is the name of the SSI node, but here, dev_err will print the name of the DMA node. So the intent is to help the user determine which SSI node has a broken DMA node pointer. This probably is useful only on PowerPC, which uses the old ssi->dma linkage.