projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ba667
)
md/raid10: fix compile warning
author
Guoqing Jiang
<guoqing.jiang@linux.dev>
Mon, 22 Aug 2022 07:45:39 +0000
(15:45 +0800)
committer
Song Liu
<song@kernel.org>
Thu, 22 Sep 2022 07:05:03 +0000
(
00:05
-0700)
With W=1, compiler complains.
drivers/md/raid10.c:1983: warning: bad line:
Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/raid10.c
patch
|
blob
|
history
diff --git
a/drivers/md/raid10.c
b/drivers/md/raid10.c
index 9117fcdee1be126b14235eaeac9984179f4b1578..077c7cdefcd45616bdc13cbc09880f10ca66f7c0 100644
(file)
--- 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.
*/