diff options
author | 2021-04-08 21:38:12 +0800 | |
---|---|---|
committer | 2021-05-10 10:44:34 +0200 | |
commit | da1e6fe563e62801fa033255f68c0bb9bf8c2c69 (patch) | |
tree | 657964b65b92439ad206827df5bc6f0e9ad6ee4d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: plat-ram: remove redundant dev_err call in platram_probe() (diff) | |
download | linux-dev-da1e6fe563e62801fa033255f68c0bb9bf8c2c69.tar.xz linux-dev-da1e6fe563e62801fa033255f68c0bb9bf8c2c69.zip |
mtd: phram: Fix error return code in phram_setup()
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: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210408133812.1209798-1-yukuai3@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions