Re: [PATCH 08/23] md: simplify md_setup_drive

2020-07-15 Thread NeilBrown
On Tue, Jul 14 2020, Christoph Hellwig wrote: > Move the loop over the possible arrays into the caller to remove a level > of indentation for the whole function. > > Signed-off-by: Christoph Hellwig > Acked-by: Song Liu Nice Reviewed-by: NeilBrown Thanks, NeilBrown > --- >

[PATCH 08/23] md: simplify md_setup_drive

2020-07-14 Thread Christoph Hellwig
Move the loop over the possible arrays into the caller to remove a level of indentation for the whole function. Signed-off-by: Christoph Hellwig Acked-by: Song Liu --- drivers/md/md-autodetect.c | 203 ++--- 1 file changed, 101 insertions(+), 102 deletions(-)