diff mbox series

md: convert comma to semicolon

Message ID 20240716025852.400259-1-nichen@iscas.ac.cn (mailing list archive)
State Accepted
Headers show
Series md: convert comma to semicolon | expand

Checks

Context Check Description
mdraidci/vmtest-md-6_11-PR success PR summary
mdraidci/vmtest-md-6_11-VM_Test-0 success Logs for build-kernel

Commit Message

Chen Ni July 16, 2024, 2:58 a.m. UTC
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(-)

Comments

Song Liu Aug. 15, 2024, 7:08 a.m. UTC | #1
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
>
diff mbox series

Patch

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,