Skip to content

Commit

Permalink
binder: Fix comment headers on binder_alloc_prepare_to_free()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
joelagnel authored and gregkh committed Oct 10, 2019
1 parent 51d8a7e commit 5dc54a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/android/binder_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 5dc54a0

Please sign in to comment.