Skip to contentSkip to conversation

drivers/remoteproc: fix repeated words in comments

PATCH Applied wangjianli 3 participants 3 messages Sep 8, 2022 – Sep 19, 2022 Remote processor (remoteproc)

lore
Share & tools
lore

wangjianli

author
#0 lore raw

PATCH 1/1 drivers/remoteproc: fix repeated words in comments

Delete the redundant word 'in'.

---
 drivers/remoteproc/remoteproc_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/remoteproc_core.c +1 -1
index e5279ed9a8d7..6e8849f0df18 100644
@@ -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,
Signature · 1 line
2.36.1
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 12 lines · wangjianli

Delete the redundant word 'in'.

---
  drivers/remoteproc/remoteproc_core.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/remoteproc_core.c +0 -0
index e5279ed9a8d7..6e8849f0df18 100644

drivers/remoteproc/remoteproc_core.c int rproc_alloc_vring(struct rproc_vdev *rvdev, int i) · line 349

Quoted 5 lines
drivers/remoteproc/remoteproc_core.c +1 -1
@@ -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 */

-Mukesh

Quoted 3 lines
drivers/remoteproc/remoteproc_core.c +0 -0
  		mem = rproc_mem_entry_init(dev, NULL, 0,
  					   size, rsc->vring[i].da,
  					   rproc_alloc_carveout,
maintainer Applied
#2 lore raw
In reply to wangjianli
Quoted 7 lines · wangjianli

Delete the redundant word 'in'.

---
 drivers/remoteproc/remoteproc_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied.

Thanks,
Mathieu

Quoted 16 lines
drivers/remoteproc/remoteproc_core.c +1 -1
index e5279ed9a8d7..6e8849f0df18 100644
@@ -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,
Signature · 1 line
2.36.1