summaryrefslogtreecommitdiff
path: root/drivers/pmdomain/starfive
diff options
context:
space:
mode:
authorMaxim Korotkov <korotkov.maxim.s@gmail.com>2024-03-13 13:27:20 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2024-03-25 11:20:37 +0100
commit6819db94e1cd3ce24a432f3616cd563ed0c4eaba (patch)
tree8faa0ad42445c6bf692284e3f67f465ce34dce79 /drivers/pmdomain/starfive
parent31e6bb6787e730ddedf5cc9b90863c5ff438ead7 (diff)
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 <korotkov.maxim.s@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240313102721.1991299-1-korotkov.maxim.s@gmail.com
Diffstat (limited to 'drivers/pmdomain/starfive')
0 files changed, 0 insertions, 0 deletions