binder: Modify comments
authorYangHui <yanghui.def@gmail.com>
Tue, 18 Aug 2020 01:34:04 +0000 (09:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Sep 2020 16:24:37 +0000 (18:24 +0200)
The function name should is binder_alloc_new_buf()

Signed-off-by: YangHui <yanghui.def@gmail.com>
Reviewed-by: Martijn Coenen <maco@android.com>
Link: https://lore.kernel.org/r/1597714444-3614-1-git-send-email-yanghui.def@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder_alloc.c

index 6960969..8c98d12 100644 (file)
@@ -652,7 +652,7 @@ static void binder_free_buf_locked(struct binder_alloc *alloc,
  * @alloc:     binder_alloc for this proc
  * @buffer:    kernel pointer to buffer
  *
- * Free the buffer allocated via binder_alloc_new_buffer()
+ * Free the buffer allocated via binder_alloc_new_buf()
  */
 void binder_alloc_free_buf(struct binder_alloc *alloc,
                            struct binder_buffer *buffer)