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