diff options
author | 2025-05-02 11:39:29 +0300 | |
---|---|---|
committer | 2025-05-12 16:28:15 +0200 | |
commit | 0d470c72bea4d9f4c24b304fefdc857979cb5ca0 (patch) | |
tree | db409e0a1ad1c5ca6f431de761ed864ea615c6e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: rawnand: qcom: Fix read len for onfi param page (diff) | |
download | linux-rng-0d470c72bea4d9f4c24b304fefdc857979cb5ca0.tar.xz linux-rng-0d470c72bea4d9f4c24b304fefdc857979cb5ca0.zip |
mtd: rawnand: loongson1: Fix error code in ls1x_nand_dma_transfer()
The "desc" variable is NULL and PTR_ERR(NULL) is zero/success. Return
a negative error code instead.
Fixes: d2d10ede04b1 ("mtd: rawnand: Add Loongson-1 NAND Controller Driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions