Re: [PATCH] mm: fix repeated words in comments

From: Randy Dunlap
Date: Sun Sep 18 2022 - 11:08:47 EST




On 9/18/22 03:01, Jilin Yuan wrote:
> Delete the redundant word 'on'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>
> ---
> drivers/misc/vmw_balloon.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c
> index 61a2be712bf7..c2e774f68133 100644
> --- a/drivers/misc/vmw_balloon.c
> +++ b/drivers/misc/vmw_balloon.c
> @@ -736,7 +736,7 @@ static int vmballoon_handle_one_result(struct vmballoon *b, struct page *page,
> * @p: pointer to where the page struct is returned.
> *
> * Following a lock or unlock operation, returns the status of the operation for
> - * an individual page. Provides the page that the operation was performed on on
> + * an individual page. Provides the page that the operation was performed on

This would make more sense to me: (s/on on/on in/)

> + * an individual page. Provides the page that the operation was performed on in

> * the @page argument.
> *
> * Returns: The status of a lock or unlock operation for an individual page.

--
~Randy