dma: of: make error message more meaningful by adding the node name
PATCH 7/25 dma: of: make error message more meaningful by adding the node name
Signed-off-by Lothar Waßmann <[email protected]>
--- drivers/dma/of-dma.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/dma/of-dma.c +2 -1
@@ -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 ; }
Signature · 1 line
1.7.2.5
Vinod Koul
AppliedQuoted 2 lines · Lothar Waßmann
Signed-off-by Lothar Waßmann <[email protected]>
Applied, thanks
~Vinod
Quoted 21 lines
--- drivers/dma/of-dma.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)drivers/dma/of-dma.c +2
-1@@ -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 ; }Signature · 1 line
1.7.2.5