Skip to contentSkip to conversation

binder: Fix comment headers on binder_alloc_prepare_to_free()

PATCH In review Joel Fernandes (Google) 2 participants 2 messages Sep 30, 2019 Android drivers

lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/android/binder_alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/android/binder_alloc.c +1 -1
index 6d79a1b0d446..d42a8b2f636a 100644
@@ -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