kernel_samsung_a53x/drivers/mtd
Maxim Korotkov 2f169ff8c2 mtd: rawnand: hynix: fixed typo
[ 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: 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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:26:57 +01:00
..
chips mtd: cfi_cmdset_0001: Byte swap OTP info 2024-11-18 11:43:26 +01:00
devices Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hyperbus Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpddr Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
maps mtd: maps: physmap-core: fix flash size larger than 32-bit 2024-11-19 08:44:54 +01:00
nand mtd: rawnand: hynix: fixed typo 2024-11-19 12:26:57 +01:00
parsers Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spi-nor Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tests Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ubi ubi: correct the calculation of fastmap size 2024-11-19 09:22:16 +01:00
ftl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inftlcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inftlmount.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtd_blkdevs.c mtd: Fix gluebi NULL pointer dereference caused by ftl notifier 2024-11-18 12:12:25 +01:00
mtdblock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdblock_ro.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdchar.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdconcat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdcore.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdoops.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdpart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdpstore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdsuper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdswap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nftlcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nftlmount.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rfd_ftl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sm_ftl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sm_ftl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ssfdc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00