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>
Fri, 8 Nov 2019 12:03:12 +0000 (12:03 +0000)
commitc94e5ffd2c6dfa9010ea7c63951843b1ab63a382
tree2a8b4f6bc097f95455978375cd7c904e5b5a594c
parent504092f1f915502ae11c2bf85e5f55a16747ec6b
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