summaryrefslogtreecommitdiff
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-08-21 09:58:45 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-08-23 10:58:14 +0200
commit6b430c7595e4eb95fae8fb54adc3c3ce002e75ae (patch)
treeb9ed66db669b8e700e50ded4f81a75368917adda /fs/Kconfig
parent0792ec82175ec45a0f45af6e0f2d3cb49c527cd4 (diff)
mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()'
A successful 'init_rs_non_canonical()' call should be balanced by a corresponding 'free_rs()' call in the error handling path of the probe, as already done in the remove function. Update the error handling path accordingly. Fixes: 8c61b7a7f4d4 ("[MTD] [NAND] Use rslib for CAFÉ ECC") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/fd313d3fb787458bcc73189e349f481133a2cdc9.1629532640.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions