md: remove a superfluous semicolon
PATCH 1/1 md: remove a superfluous semicolon
No use for a semicolon at the end of a loop block.
Reporte-by kernel test robot <[email protected]>
Signed-off-by Christoph Hellwig <[email protected]>
--- drivers/md/md.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/md.c +1 -1
@@ -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)
Signature · 1 line
2.30.2
Song Liu
maintainerQuoted 5 lines · Christoph Hellwig
No use for a semicolon at the end of a loop block.
Reporte-by kernel test robot <[email protected]>Signed-off-by Christoph Hellwig <[email protected]>
This is a duplicate of
https://lore.kernel.org/all/[email protected]/t/
Added Christoph's signed-off-by and the reported-by to that commit.
Thanks,
Song
Quoted 20 lines
--- drivers/md/md.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/md/md.c +1
-2@@ -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.30.2