summaryrefslogtreecommitdiff
path: root/drivers/dma/dmaengine.c
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2019-12-24 10:26:14 +0530
committerVinod Koul <vkoul@kernel.org>2019-12-26 10:04:18 +0530
commit08baca4280d8abcf139fa8fec5b3de6f346efbae (patch)
tree3d1e0503ef69701b0bf3ed18ccdbfde55aa1bc1e /drivers/dma/dmaengine.c
parent83c77940db12112646a2f74d1d21505788812d7f (diff)
dmaengine: print more meaningful error message
error log for dma_channel_table_init() failure pointed a mere "initialization failure", which is not very helpful message, so print additional details like function name and error code. Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/dmaengine.c')
-rw-r--r--drivers/dma/dmaengine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c
index 0505ea5b002f..4ac77456e830 100644
--- a/drivers/dma/dmaengine.c
+++ b/drivers/dma/dmaengine.c
@@ -206,7 +206,7 @@ static int __init dma_channel_table_init(void)
}
if (err) {
- pr_err("initialization failure\n");
+ pr_err("dmaengine dma_channel_table_init failure: %d\n", err);
for_each_dma_cap_mask(cap, dma_cap_mask_all)
free_percpu(channel_table[cap]);
}