diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-03-22 12:01:45 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-03-23 12:44:02 +0300 |
commit | 4ca8c1d4979cc60cc129318ce0a89d075c9eb49f (patch) | |
tree | 462522111b8ca8bcbc866847ada384c46ccccfe3 /tools/perf/scripts/python/stackcollapse.py | |
parent | 44dd182861f99f04171256f29b9dc51940757e5d (diff) | |
download | linux-4ca8c1d4979cc60cc129318ce0a89d075c9eb49f.tar.xz |
mtd: nand: hynix: Fix an error code in init
We should be return -ENOMEM instead of success.
Fixes: 626994e07480 ("mtd: nand: hynix: Add read-retry support for 1x nm MLC NANDs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions