projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ca082
)
[media] s5p-mfc: include buffer size in error message
author
Shuah Khan
<
[email protected]
>
Mon, 7 Nov 2016 23:39:25 +0000
(21:39 -0200)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Wed, 16 Nov 2016 18:29:42 +0000
(16:29 -0200)
Include buffer size in s5p_mfc_alloc_priv_buf() the error message
when it fails to allocate the buffer.
Signed-off-by: Shuah Khan <
[email protected]
>
Signed-off-by: Sylwester Nawrocki <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
b/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
index f0f5e8ce5416627362b92f5f5047bdba4e794d3e..99f65a92a6be377857acabb6ee802dd95b43f891 100644
(file)
--- a/
drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
+++ b/
drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
@@
-45,7
+45,8
@@
int s5p_mfc_alloc_priv_buf(struct device *dev, dma_addr_t base,
b->virt = dma_alloc_coherent(dev, b->size, &b->dma, GFP_KERNEL);
if (!b->virt) {
- mfc_err("Allocating private buffer failed\n");
+ mfc_err("Allocating private buffer of size %zu failed\n",
+ b->size);
return -ENOMEM;
}