OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c7794
)
dmaengine: print more meaningful error message
author
Vinod Koul
<vkoul@kernel.org>
Tue, 24 Dec 2019 04:56:14 +0000
(10:26 +0530)
committer
Vinod Koul
<vkoul@kernel.org>
Thu, 26 Dec 2019 04:34:18 +0000
(10:04 +0530)
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>
drivers/dma/dmaengine.c
patch
|
blob
|
history
diff --git
a/drivers/dma/dmaengine.c
b/drivers/dma/dmaengine.c
index
0505ea5
..
4ac7745
100644
(file)
--- 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]);
}