summaryrefslogtreecommitdiff
path: root/drivers/mtd/tests/readtest.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-05-27 10:17:21 +0300
committerIngo Molnar <mingo@kernel.org>2015-05-27 10:17:21 +0300
commit8d12ded3dd499e38e8022fe3ec53920d085e57a3 (patch)
tree8b73e5a68f24b0bd33430bed8993de979825ffcf /drivers/mtd/tests/readtest.c
parentd499c106843afa0703a68c64662bf42a16421aec (diff)
parent68ab747604da98f0a0414f197f346ac22888fcee (diff)
downloadlinux-8d12ded3dd499e38e8022fe3ec53920d085e57a3.tar.xz
Merge branch 'perf/urgent' into perf/core, before applying dependent patches
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/mtd/tests/readtest.c')
-rw-r--r--drivers/mtd/tests/readtest.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mtd/tests/readtest.c b/drivers/mtd/tests/readtest.c
index a3196b750a22..58df07acdbdb 100644
--- a/drivers/mtd/tests/readtest.c
+++ b/drivers/mtd/tests/readtest.c
@@ -191,9 +191,11 @@ static int __init mtd_readtest_init(void)
err = ret;
}
- err = mtdtest_relax();
- if (err)
+ ret = mtdtest_relax();
+ if (ret) {
+ err = ret;
goto out;
+ }
}
if (err)