projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
394ed8e
)
md/raid5: Use correct IS_ERR() variation on pointer check
author
Jes Sorensen
<Jes.Sorensen@redhat.com>
Sat, 7 Jan 2017 00:31:35 +0000
(19:31 -0500)
committer
Shaohua Li
<shli@fb.com>
Mon, 9 Jan 2017 21:58:10 +0000
(13:58 -0800)
This fixes a build error on certain architectures, such as ppc64.
Fixes:
6995f0b247e
("md: takeover should clear unrelated bits")
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid5.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/raid5.c
b/drivers/md/raid5.c
index 7b1da6e95a5689c67bd0e17574eabae85307e3bd..36c13e4be9c9e5d0cedacb59910e7b4482eb6ddd 100644
(file)
--- a/
drivers/md/raid5.c
+++ b/
drivers/md/raid5.c
@@
-7831,7
+7831,7
@@
static void *raid5_takeover_raid1(struct mddev *mddev)
mddev->new_chunk_sectors = chunksect;
ret = setup_conf(mddev);
- if (!IS_ERR
_VALUE
(ret))
+ if (!IS_ERR(ret))
mddev_clear_unsupported_flags(mddev,
UNSUPPORTED_MDDEV_FLAGS);
return ret;