Skip to content

Commit 303fd71

Browse files
lw-karoVinod Koul
authored andcommitted
dma: of: make error message more meaningful by adding the node name
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
1 parent d9a6c8f commit 303fd71

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/dma/of-dma.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ struct dma_chan *of_dma_request_slave_channel(struct device_node *np,
160160

161161
count = of_property_count_strings(np, "dma-names");
162162
if (count < 0) {
163-
pr_err("%s: dma-names property missing or empty\n", __func__);
163+
pr_err("%s: dma-names property of node '%s' missing or empty\n",
164+
__func__, np->full_name);
164165
return NULL;
165166
}
166167

0 commit comments

Comments
 (0)