diff options
| author | Zhang Xiaoxu <zhangxiaoxu5@huawei.com> | 2021-04-09 04:07:39 +0300 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-05-10 11:44:37 +0300 |
| commit | e4f3c9118f27b3b400db9993dd8bfd028d3b86ca (patch) | |
| tree | a4220cce7b52137e6ab3aec97c0713e41e6bd821 /tools/perf/scripts/python | |
| parent | da1e6fe563e62801fa033255f68c0bb9bf8c2c69 (diff) | |
| download | linux-e4f3c9118f27b3b400db9993dd8bfd028d3b86ca.tar.xz | |
mtd: mtd_oobtest: fix error return code in mtd_oobtest_init()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210409010739.1021001-1-zhangxiaoxu5@huawei.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
