driverdev-devel.linuxdriverproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] binder: Fix comment headers on binder_alloc_prepare_to_free()
@ 2019-09-30 20:12 Joel Fernandes (Google)
  2019-09-30 20:23 ` Christian Brauner
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Fernandes (Google) @ 2019-09-30 20:12 UTC (permalink / raw)
  To: linux-kernel
  Cc: devel, Todd Kjos, Greg Kroah-Hartman, Arve Hjønnevåg,
	Joel Fernandes (Google),
	Martijn Coenen, Christian Brauner

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) <joel@joelfernandes.org>

---
 drivers/android/binder_alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/android/binder_alloc.c b/drivers/android/binder_alloc.c
index 6d79a1b0d446..d42a8b2f636a 100644
--- a/drivers/android/binder_alloc.c
+++ b/drivers/android/binder_alloc.c
@@ -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
  *
-- 
2.23.0.444.g18eeb5a265-goog

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] binder: Fix comment headers on binder_alloc_prepare_to_free()
  2019-09-30 20:12 [PATCH] binder: Fix comment headers on binder_alloc_prepare_to_free() Joel Fernandes (Google)
@ 2019-09-30 20:23 ` Christian Brauner
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2019-09-30 20:23 UTC (permalink / raw)
  To: Joel Fernandes (Google)
  Cc: devel, Todd Kjos, Greg Kroah-Hartman, linux-kernel,
	Arve Hjønnevåg, Martijn Coenen

On Mon, Sep 30, 2019 at 04:12:50PM -0400, Joel Fernandes wrote:
> 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) <joel@joelfernandes.org>

Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-30 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-30 20:12 [PATCH] binder: Fix comment headers on binder_alloc_prepare_to_free() Joel Fernandes (Google)
2019-09-30 20:23 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).