On Mon, May 22, 2023 at 12:27 AM <linan666@xxxxxxxxxxxxxxx> wrote: > > From: Li Nan <linan122@xxxxxxxxxx> > > The patch series fix the bug of writing raid sysfs. > > Changes in v4: > - in patch 1, check overflow in safe_delay_store() directly. > - in patch 2, check input number instead of using unsigned int. > > Li Nan (3): > md/raid10: fix overflow of md/safe_mode_delay > md/raid10: fix wrong setting of max_corr_read_errors > md/raid10: optimize check_decay_read_errors() Applied 1/3 and 2/3 to md-next. Thanks, Song > > drivers/md/md.c | 9 ++++++--- > drivers/md/raid10.c | 41 ++++++++++++++++++++++++----------------- > 2 files changed, 30 insertions(+), 20 deletions(-) > > -- > 2.31.1 >