Skip to content

Commit 5dc54a0

Browse files
joelagnelgregkh
authored andcommitted
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]> Reviewed-by: Christian Brauner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 51d8a7e commit 5dc54a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/android/binder_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static struct binder_buffer *binder_alloc_prepare_to_free_locked(
156156
}
157157

158158
/**
159-
* binder_alloc_buffer_lookup() - get buffer given user ptr
159+
* binder_alloc_prepare_to_free() - get buffer given user ptr
160160
* @alloc: binder_alloc for this proc
161161
* @user_ptr: User pointer to buffer data
162162
*

0 commit comments

Comments
 (0)