Re: [PATCH] md/raid10: fix compile warning

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

 



On Mon, Aug 22, 2022 at 12:46 AM Guoqing Jiang <guoqing.jiang@xxxxxxxxx> wrote:
>
> With W=1, compiler complains.
>
> drivers/md/raid10.c:1983: warning: bad line:
>
> Signed-off-by: Guoqing Jiang <guoqing.jiang@xxxxxxxxx>

Applied to md-next.

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 26545950ca42..aa5b28017a49 100644
> --- a/drivers/md/raid10.c
> +++ b/drivers/md/raid10.c
> @@ -1980,7 +1980,7 @@ static int enough(struct r10conf *conf, int ignore)
>   * Otherwise, it must be degraded:
>   *     - recovery is interrupted.
>   *     - &mddev->degraded is bumped.
> -
> + *
>   * @rdev is marked as &Faulty excluding case when array is failed and
>   * &mddev->fail_last_dev is off.
>   */
> --
> 2.31.1
>



[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