binder: Fix comment headers on binder_alloc_prepare_to_free()
PATCH 1/1 binder: Fix comment headers on binder_alloc_prepare_to_free()
binder_alloc_buffer_lookup() doesn't exist and is named "binder_alloc_prepare_to_free()". Correct the code comments to reflect this.
Signed-off-by Joel Fernandes (Google) <[email protected]>
--- drivers/android/binder_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/android/binder_alloc.c +1 -1
@@ -156,7 +156,7 @@ static struct binder_buffer *binder_alloc_prepare_to_free_locked( }/** -* binder_alloc_buffer_lookup() - get buffer given user ptr +* binder_alloc_prepare_to_free() - get buffer given user ptr * @alloc: binder_alloc for this proc * @user_ptr: User pointer to buffer data *
Signature · 1 line
2.23.0.444.g18eeb5a265-goog
Quoted 5 lines · Joel Fernandes
binder_alloc_buffer_lookup()doesn't exist and is named "binder_alloc_prepare_to_free()". Correct the code comments to reflect this.Signed-off-by Joel Fernandes (Google) <[email protected]>
Reviewed-by Christian Brauner <[email protected]>