FROMLIST: android: binder: Refactor prev and next buffer into a helper function
authorSherry Yang <sherryy@android.com>
Fri, 30 Jun 2017 17:22:23 +0000 (10:22 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 8 Oct 2019 13:37:43 +0000 (14:37 +0100)
commite7e98fad4602e7d28c0e566b2d2fece76e60875a
tree2a8b4f6bc097f95455978375cd7c904e5b5a594c
parentf7d98682f1d96839fc644e74e51b4aaf31cd600f
FROMLIST: android: binder: Refactor prev and next buffer into a helper function

(from https://patchwork.kernel.org/patch/9928605/)

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

Bug: 36007193
Change-Id: I422dce84afde3d2138a6d976593b109a9cc49003
Signed-off-by: Sherry Yang <sherryy@android.com>
drivers/android/binder_alloc.c