From 499b3d7743b97d63cdbf95dd66f878b154fcbbca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E9=92=A6=E8=A1=97?= <15390014138@163.com> Date: Wed, 13 Oct 2021 06:19:02 +0000 Subject: [PATCH] =?UTF-8?q?update=20drivers/android/binder=5Falloc.c.=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B5=B0=E8=AF=BB=E5=8F=91=E7=8E=B0=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E6=9C=89=E7=82=B9=E9=97=AE=E9=A2=98=EF=BC=8C=E8=AF=B7?= =?UTF-8?q?=E8=BF=9B=E4=B8=80=E6=AD=A5=E5=88=86=E6=9E=90=E5=92=8C=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- drivers/android/binder_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/android/binder_alloc.c b/drivers/android/binder_alloc.c index 7caf74ad2405..ac08cbde138e 100644 --- a/drivers/android/binder_alloc.c +++ b/drivers/android/binder_alloc.c @@ -600,7 +600,7 @@ static void binder_delete_free_buffer(struct binder_alloc *alloc, BUG_ON(alloc->buffers.next == &buffer->entry); prev = binder_buffer_prev(buffer); BUG_ON(!prev->free); - if (prev_buffer_end_page(prev) == buffer_start_page(buffer)) { + if (buffer_start_page(prev) == buffer_start_page(buffer)) { to_free = false; binder_alloc_debug(BINDER_DEBUG_BUFFER_ALLOC, "%d: merge free, buffer %pK share page with %pK\n", -- Gitee