* [PATCH -next] md: remove unneeded semicolon
@ 2022-07-22 0:27 Yang Li
2022-07-26 4:56 ` Song Liu
0 siblings, 1 reply; 4+ messages in thread
From: Yang Li @ 2022-07-22 0:27 UTC (permalink / raw)
To: song; +Cc: linux-raid, linux-kernel, Yang Li, Abaci Robot
Eliminate the following coccicheck warning:
./drivers/md/md.c:8208:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/md/md.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 673a39042208..2b2267be5c32 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -8205,7 +8205,7 @@ static void *md_seq_next(struct seq_file *seq, void *v, loff_t *pos)
break;
mddev = next_mddev;
tmp = mddev->all_mddevs.next;
- };
+ }
spin_unlock(&all_mddevs_lock);
if (to_put)
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH -next] md: remove unneeded semicolon
2022-07-22 0:27 [PATCH -next] md: remove " Yang Li
@ 2022-07-26 4:56 ` Song Liu
0 siblings, 0 replies; 4+ messages in thread
From: Song Liu @ 2022-07-26 4:56 UTC (permalink / raw)
To: Yang Li; +Cc: linux-raid, open list, Abaci Robot
On Thu, Jul 21, 2022 at 5:28 PM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> Eliminate the following coccicheck warning:
> ./drivers/md/md.c:8208:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Applied to md-next.
Thanks,
Song
> ---
> drivers/md/md.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/md/md.c b/drivers/md/md.c
> index 673a39042208..2b2267be5c32 100644
> --- a/drivers/md/md.c
> +++ b/drivers/md/md.c
> @@ -8205,7 +8205,7 @@ static void *md_seq_next(struct seq_file *seq, void *v, loff_t *pos)
> break;
> mddev = next_mddev;
> tmp = mddev->all_mddevs.next;
> - };
> + }
> spin_unlock(&all_mddevs_lock);
>
> if (to_put)
> --
> 2.20.1.7.g153144c
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH -next] md: Remove unneeded semicolon
@ 2024-06-18 1:07 Yang Li
2024-07-04 7:07 ` Song Liu
0 siblings, 1 reply; 4+ messages in thread
From: Yang Li @ 2024-06-18 1:07 UTC (permalink / raw)
To: song, yukuai3; +Cc: linux-raid, linux-kernel, Yang Li, Abaci Robot
./drivers/md/md.c:630:21-22: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9344
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/md/md.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/md.c b/drivers/md/md.c
index cf510a68705f..ece807b3f854 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -627,7 +627,7 @@ static void md_submit_flush_data(struct work_struct *ws)
* always is 0, make_request() will not be called here.
*/
if (WARN_ON_ONCE(!mddev->pers->make_request(mddev, bio)))
- bio_io_error(bio);;
+ bio_io_error(bio);
}
/* The pair is percpu_ref_get() from md_flush_request() */
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH -next] md: Remove unneeded semicolon
2024-06-18 1:07 [PATCH -next] md: Remove unneeded semicolon Yang Li
@ 2024-07-04 7:07 ` Song Liu
0 siblings, 0 replies; 4+ messages in thread
From: Song Liu @ 2024-07-04 7:07 UTC (permalink / raw)
To: Yang Li; +Cc: yukuai3, linux-raid, linux-kernel, Abaci Robot
On Tue, Jun 18, 2024 at 9:08 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> ./drivers/md/md.c:630:21-22: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9344
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Applied to md-6.11. Thanks!
Song
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-04 7:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-18 1:07 [PATCH -next] md: Remove unneeded semicolon Yang Li
2024-07-04 7:07 ` Song Liu
-- strict thread matches above, loose matches on Subject: below --
2022-07-22 0:27 [PATCH -next] md: remove " Yang Li
2022-07-26 4:56 ` Song Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox