md/raid10: fix compile warning
PATCH 1/1 md/raid10: fix compile warning
With W=1, compiler complains.
drivers/md/raid10.c:1983: warning: bad line:
Signed-off-by Guoqing Jiang <[email protected]>
--- drivers/md/raid10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/raid10.c +1 -1
@@ -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. */
Signature · 1 line
2.31.1
Quoted 6 lines · Guoqing Jiang
With W=1, compiler complains.
drivers/md/raid10.c:1983: warning: bad line:Signed-off-by Guoqing Jiang <[email protected]>
Applied to md-next.
Thanks!
Song
Quoted 20 lines
--- drivers/md/raid10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/md/raid10.c +1
-2@@ -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