Commit af5c0b84 authored by threader's avatar threader Committed by Bernhard Thoben
Browse files

binder: missed a piece of 0c972a05cde66e3d448419c120627083d6419f8f

(cherry picked from commit fb7b25a8609c89874b4708f8e86f11d0f6698939)
parent 3d120b45
......@@ -776,6 +776,7 @@ int binder_alloc_mmap_handler(struct binder_alloc *alloc,
failure_string = "alloc page array";
goto err_alloc_pages_failed;
alloc->buffer_size = vma->vm_end - vma->vm_start;
buffer = kzalloc(sizeof(*buffer), GFP_KERNEL);
if (!buffer) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment