99bc9199de
[ Upstream commit 6819db94e1cd3ce24a432f3616cd563ed0c4eaba ]
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:
|
||
---|---|---|
.. | ||
onenand | ||
raw | ||
spi | ||
Kconfig | ||
Makefile | ||
bbt.c | ||
core.c | ||
ecc-sw-bch.c | ||
ecc-sw-hamming.c | ||
ecc.c |