[PATCH] md: convert comma to semicolon

Chen Ni posted 1 patch 1 year, 5 months ago
drivers/md/raid10.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] md: convert comma to semicolon
Posted by Chen Ni 1 year, 5 months ago
Replace a comma between expression statements by a semicolon.

Fixes: 5e5702898e93 ("md/raid10: Handle read errors during recovery better.")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/md/raid10.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index 2a9c4ee982e0..e55e020b5571 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -2465,7 +2465,7 @@ static void fix_recovery_read_error(struct r10bio *r10_bio)
 			s = PAGE_SIZE >> 9;
 
 		rdev = conf->mirrors[dr].rdev;
-		addr = r10_bio->devs[0].addr + sect,
+		addr = r10_bio->devs[0].addr + sect;
 		ok = sync_page_io(rdev,
 				  addr,
 				  s << 9,
-- 
2.25.1
Re: [PATCH] md: convert comma to semicolon
Posted by Song Liu 1 year, 4 months ago
On Mon, Jul 15, 2024 at 7:59 PM Chen Ni <nichen@iscas.ac.cn> wrote:
>
> Replace a comma between expression statements by a semicolon.
>
> Fixes: 5e5702898e93 ("md/raid10: Handle read errors during recovery better.")
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

Applied to md-6.12.

Thanks,
Song
> ---
>  drivers/md/raid10.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
> index 2a9c4ee982e0..e55e020b5571 100644
> --- a/drivers/md/raid10.c
> +++ b/drivers/md/raid10.c
> @@ -2465,7 +2465,7 @@ static void fix_recovery_read_error(struct r10bio *r10_bio)
>                         s = PAGE_SIZE >> 9;
>
>                 rdev = conf->mirrors[dr].rdev;
> -               addr = r10_bio->devs[0].addr + sect,
> +               addr = r10_bio->devs[0].addr + sect;
>                 ok = sync_page_io(rdev,
>                                   addr,
>                                   s << 9,
> --
> 2.25.1
>