Commit 08baca42 authored by Vinod Koul's avatar Vinod Koul

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: default avatarVinod Koul <vkoul@kernel.org>
parent 83c77940
...@@ -206,7 +206,7 @@ static int __init dma_channel_table_init(void) ...@@ -206,7 +206,7 @@ static int __init dma_channel_table_init(void)
} }
if (err) { 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) for_each_dma_cap_mask(cap, dma_cap_mask_all)
free_percpu(channel_table[cap]); free_percpu(channel_table[cap]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment