]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
android: binder: Refactor prev and next buffer into a helper function
authorSherry Yang <sherryy@android.com>
Wed, 23 Aug 2017 15:46:39 +0000 (08:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:47:17 +0000 (16:47 +0200)
commite21762196118c272321532fe64c512efaa088b7e
tree3bbcafba7be351abc6d00a2e2ad793f3ebe8eb21
parent9c0dda14951e9ed30b6f04e14bf64a3c69686c5b
android: binder: Refactor prev and next buffer into a helper function

Use helper functions buffer_next and buffer_prev instead
of list_entry to get the next and previous buffers.

Signed-off-by: Sherry Yang <sherryy@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder_alloc.c