2022-09-08 12:35:39

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 e5279ed9a8d7..6e8849f0df18 100644
--- a/drivers/remoteproc/remoteproc_core.c
+++ b/drivers/remoteproc/remoteproc_core.c
@@ -346,7 +346,7 @@ int rproc_alloc_vring(struct rproc_vdev *rvdev, int i)
if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size))
return -ENOMEM;
} else {
- /* Register carveout in in list */
+ /* Register carveout in list */
mem = rproc_mem_entry_init(dev, NULL, 0,
size, rsc->vring[i].da,
rproc_alloc_carveout,
--
2.36.1


2022-09-08 15:45:04

by Mukesh Ojha

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

Hi,

On 9/8/2022 6:02 PM, 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 e5279ed9a8d7..6e8849f0df18 100644
> --- a/drivers/remoteproc/remoteproc_core.c
> +++ b/drivers/remoteproc/remoteproc_core.c
> @@ -346,7 +346,7 @@ int rproc_alloc_vring(struct rproc_vdev *rvdev, int i)
> if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size))
> return -ENOMEM;
> } else {
> - /* Register carveout in in list */
> + /* Register carveout in list */

Reviewed-by: Mukesh Ojha <[email protected]>

-Mukesh
> mem = rproc_mem_entry_init(dev, NULL, 0,
> size, rsc->vring[i].da,
> rproc_alloc_carveout,

2022-09-19 20:49:49

by Mathieu Poirier

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

On Thu, Sep 08, 2022 at 08:32:37PM +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(-)
>

Applied.

Thanks,
Mathieu

> diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c
> index e5279ed9a8d7..6e8849f0df18 100644
> --- a/drivers/remoteproc/remoteproc_core.c
> +++ b/drivers/remoteproc/remoteproc_core.c
> @@ -346,7 +346,7 @@ int rproc_alloc_vring(struct rproc_vdev *rvdev, int i)
> if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size))
> return -ENOMEM;
> } else {
> - /* Register carveout in in list */
> + /* Register carveout in list */
> mem = rproc_mem_entry_init(dev, NULL, 0,
> size, rsc->vring[i].da,
> rproc_alloc_carveout,
> --
> 2.36.1
>