提交 08baca42 编写于 作者: V 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: NVinod Koul <vkoul@kernel.org>
上级 83c77940
......@@ -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]);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册