Skip to content

Commit

Permalink
dma: of: make error message more meaningful by adding the node name
Browse files Browse the repository at this point in the history
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
  • Loading branch information
Lothar Waßmann authored and Vinod Koul committed Aug 19, 2013
1 parent d9a6c8f commit 303fd71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/dma/of-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 303fd71

Please sign in to comment.