diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-05-02 11:39:29 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-05-12 16:28:15 +0200 |
commit | 0d470c72bea4d9f4c24b304fefdc857979cb5ca0 (patch) | |
tree | db409e0a1ad1c5ca6f431de761ed864ea615c6e1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e6031b11544b44966ba020c867fe438bccd3bdfa (diff) |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions