2022-07-24 07:49:06

by wangjianli

[permalink] [raw]
Subject: [PATCH] drivers/remoteproc: fix repeated words in comments

Delete the redundant word 'in'.

Signed-off-by: wangjianli <[email protected]>
---
drivers/remoteproc/remoteproc_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c
index 02a04ab34a23..e3e68b5051bb 100644
--- a/drivers/remoteproc/remoteproc_core.c
+++ b/drivers/remoteproc/remoteproc_core.c
@@ -970,7 +970,7 @@ static int rproc_handle_carveout(struct rproc *rproc,
return 0;
}

- /* Register carveout in in list */
+ /* Register carveout in list */
carveout = rproc_mem_entry_init(dev, NULL, 0, rsc->len, rsc->da,
rproc_alloc_carveout,
rproc_release_carveout, rsc->name);
--
2.36.1


2022-07-25 16:59:36

by Mathieu Poirier

[permalink] [raw]
Subject: Re: [PATCH] drivers/remoteproc: fix repeated words in comments

On Sun, Jul 24, 2022 at 03:34:18PM +0800, wangjianli wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> drivers/remoteproc/remoteproc_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c
> index 02a04ab34a23..e3e68b5051bb 100644
> --- a/drivers/remoteproc/remoteproc_core.c
> +++ b/drivers/remoteproc/remoteproc_core.c
> @@ -970,7 +970,7 @@ static int rproc_handle_carveout(struct rproc *rproc,
> return 0;
> }
>
> - /* Register carveout in in list */
> + /* Register carveout in list */

Applied.

Thanks,
Mathieu

> carveout = rproc_mem_entry_init(dev, NULL, 0, rsc->len, rsc->da,
> rproc_alloc_carveout,
> rproc_release_carveout, rsc->name);
> --
> 2.36.1
>