[PATCH] binder: Modify comments

Martijn Coenen maco at android.com
Tue Aug 18 09:55:00 UTC 2020


On Tue, Aug 18, 2020 at 3:34 AM hui yang <yanghui.def at gmail.com> wrote:
>
> From: YangHui <yanghui.def at gmail.com>
>
> The function name should is binder_alloc_new_buf()
>
Reviewed-by: Martijn Coenen <maco at android.com>

> Signed-off-by: YangHui <yanghui.def at gmail.com>
> ---
>  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 6960969..8c98d12 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)
> --
> 2.7.4
>


More information about the devel mailing list