summaryrefslogtreecommitdiffstats
path: root/drivers/android
diff options
context:
space:
mode:
authorYangHui <yanghui.def@gmail.com>2020-08-18 03:34:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-03 18:24:37 +0200
commit4b463822316e2d765191c99dd591a0018ac473e0 (patch)
treef3cb52e66e0062230f589cdd4a2807a856099c09 /drivers/android
parentbinder: Remove bogus warning on failed same-process transaction (diff)
downloadlinux-4b463822316e2d765191c99dd591a0018ac473e0.tar.xz
linux-4b463822316e2d765191c99dd591a0018ac473e0.zip
binder: Modify comments
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>
Diffstat (limited to 'drivers/android')
-rw-r--r--drivers/android/binder_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder_alloc.c b/drivers/android/binder_alloc.c
index 69609696a843..8c98d12b7beb 100644
--- a/drivers/android/binder_alloc.c
+++ b/drivers/android/binder_alloc.c
@@ -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)