All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: ubi: block: Fix typo in code
@ 2022-07-01  1:13 ` Li kunyu
  0 siblings, 0 replies; 3+ messages in thread
From: Li kunyu @ 2022-07-01  1:13 UTC (permalink / raw)
  To: richard, miquel.raynal, vigneshr; +Cc: linux-mtd, linux-kernel, Li kunyu

Remove the repeated ';' from code

Signed-off-by: Li kunyu <kunyu@nfschina.com>
---
 drivers/mtd/ubi/block.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c
index a78fdf3b30f7..774db8346b74 100644
--- a/drivers/mtd/ubi/block.c
+++ b/drivers/mtd/ubi/block.c
@@ -409,7 +409,7 @@ int ubiblock_create(struct ubi_volume_info *vi)
 	ret = blk_mq_alloc_tag_set(&dev->tag_set);
 	if (ret) {
 		dev_err(disk_to_dev(dev->gd), "blk_mq_alloc_tag_set failed");
-		goto out_free_dev;;
+		goto out_free_dev;
 	}
 
 
-- 
2.18.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] mtd: ubi: block: Fix typo in code
@ 2022-07-01  1:13 ` Li kunyu
  0 siblings, 0 replies; 3+ messages in thread
From: Li kunyu @ 2022-07-01  1:13 UTC (permalink / raw)
  To: richard, miquel.raynal, vigneshr; +Cc: linux-mtd, linux-kernel, Li kunyu

Remove the repeated ';' from code

Signed-off-by: Li kunyu <kunyu@nfschina.com>
---
 drivers/mtd/ubi/block.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c
index a78fdf3b30f7..774db8346b74 100644
--- a/drivers/mtd/ubi/block.c
+++ b/drivers/mtd/ubi/block.c
@@ -409,7 +409,7 @@ int ubiblock_create(struct ubi_volume_info *vi)
 	ret = blk_mq_alloc_tag_set(&dev->tag_set);
 	if (ret) {
 		dev_err(disk_to_dev(dev->gd), "blk_mq_alloc_tag_set failed");
-		goto out_free_dev;;
+		goto out_free_dev;
 	}
 
 
-- 
2.18.2


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: ubi: block: Fix typo in code
  2022-07-01  1:13 ` Li kunyu
  (?)
@ 2022-07-08  9:04 ` Zhihao Cheng
  -1 siblings, 0 replies; 3+ messages in thread
From: Zhihao Cheng @ 2022-07-08  9:04 UTC (permalink / raw)
  To: linux-mtd

在 2022/7/1 9:13, Li kunyu 写道:
> Remove the repeated ';' from code
> 
> Signed-off-by: Li kunyu <kunyu@nfschina.com>
> ---
>   drivers/mtd/ubi/block.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c
> index a78fdf3b30f7..774db8346b74 100644
> --- a/drivers/mtd/ubi/block.c
> +++ b/drivers/mtd/ubi/block.c
> @@ -409,7 +409,7 @@ int ubiblock_create(struct ubi_volume_info *vi)
>   	ret = blk_mq_alloc_tag_set(&dev->tag_set);
>   	if (ret) {
>   		dev_err(disk_to_dev(dev->gd), "blk_mq_alloc_tag_set failed");
> -		goto out_free_dev;;
> +		goto out_free_dev;
>   	}
>   
>   
> 

Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-08  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-01  1:13 [PATCH] mtd: ubi: block: Fix typo in code Li kunyu
2022-07-01  1:13 ` Li kunyu
2022-07-08  9:04 ` Zhihao Cheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.