diff mbox series

md/raid10: fix compile warning

Message ID 20220822074539.12877-1-guoqing.jiang@linux.dev (mailing list archive)
State New, archived
Delegated to: Song Liu
Headers show
Series md/raid10: fix compile warning | expand

Commit Message

Guoqing Jiang Aug. 22, 2022, 7:45 a.m. UTC
With W=1, compiler complains.

drivers/md/raid10.c:1983: warning: bad line:

Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
---
 drivers/md/raid10.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Song Liu Aug. 23, 2022, 5:39 p.m. UTC | #1
On Mon, Aug 22, 2022 at 12:46 AM Guoqing Jiang <guoqing.jiang@linux.dev> wrote:
>
> With W=1, compiler complains.
>
> drivers/md/raid10.c:1983: warning: bad line:
>
> Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>

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
>
diff mbox series

Patch

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.
  */