diff options
| author | Maxim Korotkov <[email protected]> | 2024-03-13 10:27:20 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2024-03-25 10:20:37 +0000 |
| commit | 6819db94e1cd3ce24a432f3616cd563ed0c4eaba (patch) | |
| tree | 8faa0ad42445c6bf692284e3f67f465ce34dce79 /arch/powerpc/lib/code-patching.c | |
| parent | mtd: rawnand: davinci: Add dummy read after sending command (diff) | |
| download | kernel-6819db94e1cd3ce24a432f3616cd563ed0c4eaba.tar.gz kernel-6819db94e1cd3ce24a432f3616cd563ed0c4eaba.zip | |
mtd: rawnand: hynix: fixed typo
The function hynix_nand_rr_init() should probably return an error code.
Judging by the usage, it seems that the return code is passed up
the call stack.
Right now, it always returns 0 and the function hynix_nand_cleanup()
in hynix_nand_init() has never been called.
Found by RASU JSC and Linux Verification Center (linuxtesting.org)
Fixes: 626994e07480 ("mtd: nand: hynix: Add read-retry support for 1x nm MLC NANDs")
Signed-off-by: Maxim Korotkov <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
