aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2024-08-26 17:30:19 +0200
committerMiquel Raynal <[email protected]>2024-09-09 11:51:50 +0200
commit2073ae37d550ea32e8545edaa94ef10b4fef7235 (patch)
treea58dc3e10fdcd01cebc2872733ceb6f0064ff07a /tools/perf/util/scripting-engines/trace-event-python.c
parent81cb3be3261e766a1f8efab9e3154a4f4fd9d03d (diff)
mtd: rawnand: mtk: Fix init error path
Reviewing a series converting the for_each_chil_of_node() loops into their _scoped variants made me realize there was no cleanup of the already registered NAND devices upon error which may leak memory on systems with more than a chip when this error occurs. We should call the _nand_chips_cleanup() function when this happens. Fixes: 1d6b1e464950 ("mtd: mediatek: driver for MTK Smart Device") Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Pratyush Yadav <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions