linux/drivers/mtd/parsers
Yang Yingliang 278811d5a7 mtd: parsers: scpart: add missing of_node_put() in scpart_parse()
of_get_child_by_name() will increase the refcount of 'ofpart_node',
so add of_node_put() after using it to avoid refcount leak.

Fixes: 9b78ef0c79 ("mtd: parsers: add support for Sercomm partitions")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220617014008.851583-1-yangyingliang@huawei.com
2022-06-17 08:29:50 +02:00
..
afs.c mtd: parsers: afs: Fix freeing the part name memory in failure 2021-02-01 18:58:38 +01:00
ar7part.c mtd: parsers: Move TI AR7 parser 2019-09-15 23:50:48 +02:00
bcm47xxpart.c mtd: parsers: bcm47xxpart: print correct offset on read error 2022-04-04 10:33:11 +02:00
bcm63xxpart.c mtd: parsers: bcm63xx: simplify CFE detection 2020-06-26 08:35:10 +02:00
cmdlinepart.c mtd: parser: cmdline: Fix parsing of part-names with colons 2020-12-07 12:14:32 +01:00
Kconfig mtd: parsers: add support for Sercomm partitions 2022-06-09 15:03:32 +02:00
Makefile mtd: parsers: add support for Sercomm partitions 2022-06-09 15:03:32 +02:00
ofpart_bcm4908.c mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset 2022-06-09 15:03:32 +02:00
ofpart_bcm4908.h mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_core.c mtd: parsers: ofpart: fix parsing subpartitions 2021-05-10 18:34:30 +02:00
ofpart_linksys_ns.c mtd: parsers: ofpart: support Linksys Northstar partitions 2021-03-28 19:27:02 +02:00
ofpart_linksys_ns.h mtd: parsers: ofpart: support Linksys Northstar partitions 2021-03-28 19:27:02 +02:00
parser_imagetag.c mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions() 2021-01-28 22:24:54 +01:00
parser_trx.c mtd: parsers: trx: Allow to specify brcm, trx-magic in DT 2021-05-10 12:11:50 +02:00
qcomsmempart.c mtd: parsers: qcom: Fix missing free for pparts in cleanup 2022-01-25 10:32:07 +01:00
redboot.c mtd: partitions: Fix refcount leak in parse_redboot_of 2022-06-09 15:03:32 +02:00
scpart.c mtd: parsers: scpart: add missing of_node_put() in scpart_parse() 2022-06-17 08:29:50 +02:00
sharpslpart.c mtd: sharpslpart: Fix unsigned comparison to zero 2020-01-21 20:00:34 +01:00