public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 07/25] dma: of: make error message more meaningful by adding the node name
@ 2013-07-31 14:14 Lothar Waßmann
  2013-08-19  9:15 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Lothar Waßmann @ 2013-07-31 14:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: Vinod Koul, Lothar Waßmann


Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
---
 drivers/dma/of-dma.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c
index 75334bd..0b88dd3 100644
--- a/drivers/dma/of-dma.c
+++ b/drivers/dma/of-dma.c
@@ -160,7 +160,8 @@ struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
 
 	count = of_property_count_strings(np, "dma-names");
 	if (count < 0) {
-		pr_err("%s: dma-names property missing or empty\n", __func__);
+		pr_err("%s: dma-names property of node '%s' missing or empty\n",
+			__func__, np->full_name);
 		return NULL;
 	}
 
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 07/25] dma: of: make error message more meaningful by adding the node name
  2013-07-31 14:14 [PATCH 07/25] dma: of: make error message more meaningful by adding the node name Lothar Waßmann
@ 2013-08-19  9:15 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2013-08-19  9:15 UTC (permalink / raw)
  To: Lothar Waßmann; +Cc: linux-kernel

On Wed, Jul 31, 2013 at 04:14:35PM +0200, Lothar Waßmann wrote:
> 
> Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Applied, thanks

~Vinod
> ---
>  drivers/dma/of-dma.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c
> index 75334bd..0b88dd3 100644
> --- a/drivers/dma/of-dma.c
> +++ b/drivers/dma/of-dma.c
> @@ -160,7 +160,8 @@ struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
>  
>  	count = of_property_count_strings(np, "dma-names");
>  	if (count < 0) {
> -		pr_err("%s: dma-names property missing or empty\n", __func__);
> +		pr_err("%s: dma-names property of node '%s' missing or empty\n",
> +			__func__, np->full_name);
>  		return NULL;
>  	}
>  
> -- 
> 1.7.2.5
> 

-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-19  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-31 14:14 [PATCH 07/25] dma: of: make error message more meaningful by adding the node name Lothar Waßmann
2013-08-19  9:15 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox