Re: [PATCH] md: remove a superfluous semicolon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 22, 2022 at 11:25 PM Christoph Hellwig <hch@xxxxxx> wrote:
>
> No use for a semicolon at the end of a loop block.
>
> Reporte-by:  kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

This is a duplicate of

https://lore.kernel.org/all/20220722002755.71703-1-yang.lee@xxxxxxxxxxxxxxxxx/t/

Added Christoph's signed-off-by and the reported-by to that commit.

Thanks,
Song

> ---
>  drivers/md/md.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/md/md.c b/drivers/md/md.c
> index 673a39042208c..2b2267be5c329 100644
> --- a/drivers/md/md.c
> +++ b/drivers/md/md.c
> @@ -8205,7 +8205,7 @@ static void *md_seq_next(struct seq_file *seq, void *v, loff_t *pos)
>                         break;
>                 mddev = next_mddev;
>                 tmp = mddev->all_mddevs.next;
> -       };
> +       }
>         spin_unlock(&all_mddevs_lock);
>
>         if (to_put)
> --
> 2.30.2
>



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux