projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac743d
)
rk: ion: print the length of the buffer when the allocation fail
author
CMY
<cmy@rock-chips.com>
Wed, 26 Mar 2014 10:46:07 +0000
(18:46 +0800)
committer
CMY
<cmy@rock-chips.com>
Wed, 26 Mar 2014 10:46:47 +0000
(18:46 +0800)
drivers/staging/android/ion/ion_cma_heap.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/ion/ion_cma_heap.c
b/drivers/staging/android/ion/ion_cma_heap.c
index bd606ca4eb801498c0d094613629faca10526821..6104bcd23298334e8418a9bad567ca484900b71c 100755
(executable)
--- a/
drivers/staging/android/ion/ion_cma_heap.c
+++ b/
drivers/staging/android/ion/ion_cma_heap.c
@@
-93,7
+93,7
@@
static int ion_cma_allocate(struct ion_heap *heap, struct ion_buffer *buffer,
}
if (!info->cpu_addr) {
- dev_err(dev, "Fail to allocate
buffer\n"
);
+ dev_err(dev, "Fail to allocate
(%lx) buffer\n", len
);
goto err;
}