diff options
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 9ea17d6c799b..d2c0f94fa37d 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -4645,7 +4645,7 @@ static int raid456_cpu_notify(struct notifier_block *nfb, unsigned long action, | |||
4645 | kfree(percpu->scribble); | 4645 | kfree(percpu->scribble); |
4646 | pr_err("%s: failed memory allocation for cpu%ld\n", | 4646 | pr_err("%s: failed memory allocation for cpu%ld\n", |
4647 | __func__, cpu); | 4647 | __func__, cpu); |
4648 | return NOTIFY_BAD; | 4648 | return notifier_from_errno(-ENOMEM); |
4649 | } | 4649 | } |
4650 | break; | 4650 | break; |
4651 | case CPU_DEAD: | 4651 | case CPU_DEAD: |