提交 303fd71d 编写于 作者: L Lothar Waßmann 提交者: Vinod Koul

dma: of: make error message more meaningful by adding the node name

Signed-off-by: NLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 d9a6c8f5
...@@ -160,7 +160,8 @@ struct dma_chan *of_dma_request_slave_channel(struct device_node *np, ...@@ -160,7 +160,8 @@ struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
count = of_property_count_strings(np, "dma-names"); count = of_property_count_strings(np, "dma-names");
if (count < 0) { 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; return NULL;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册