rk: ion: print the length of the buffer when the allocation fail

This commit is contained in:
CMY 2014-03-26 18:46:07 +08:00
parent 6ac743d105
commit 10bafbc606

View File

@ -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;
}