Explorar o código

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>
Lothar Waßmann %!s(int64=12) %!d(string=hai) anos
pai
achega
303fd71d3f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      drivers/dma/of-dma.c

+ 2 - 1
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;
 	}