Skip to contentSkip to conversation

md/raid10: fix compile warning

PATCH Applied Guoqing Jiang 2 participants 2 messages Aug 22, 2022 – Aug 23, 2022 MD RAID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 md/raid10: fix compile warning

With W=1, compiler complains.

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

---
 drivers/md/raid10.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/raid10.c +1 -1
index 26545950ca42..aa5b28017a49 100644
@@ -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
maintainer Applied
#1 lore raw
Quoted 6 lines · Guoqing Jiang

With W=1, compiler complains.

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

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
index 26545950ca42..aa5b28017a49 100644
@@ -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