aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/android/binder_alloc.c')
-rw-r--r--drivers/android/binder_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder_alloc.c b/drivers/android/binder_alloc.c
index 1b5a131278bc..c508156843e5 100644
--- a/drivers/android/binder_alloc.c
+++ b/drivers/android/binder_alloc.c
@@ -613,7 +613,7 @@ static void binder_free_buf_locked(struct binder_alloc *alloc,
613 BUG_ON(buffer->user_data > alloc->buffer + alloc->buffer_size); 613 BUG_ON(buffer->user_data > alloc->buffer + alloc->buffer_size);
614 614
615 if (buffer->async_transaction) { 615 if (buffer->async_transaction) {
616 alloc->free_async_space += size + sizeof(struct binder_buffer); 616 alloc->free_async_space += buffer_size + sizeof(struct binder_buffer);
617 617
618 binder_alloc_debug(BINDER_DEBUG_BUFFER_ALLOC_ASYNC, 618 binder_alloc_debug(BINDER_DEBUG_BUFFER_ALLOC_ASYNC,
619 "%d: binder_free_buf size %zd async free %zd\n", 619 "%d: binder_free_buf size %zd async free %zd\n",