aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-06-17 01:40:08 +0000
committerMiquel Raynal <[email protected]>2022-06-17 06:29:50 +0000
commit278811d5a7b2af4e737c88ab3137d3ccc0732ac1 (patch)
tree6b61244572c2af398960888a62f89190fab7fc5e /drivers/fpga/fpga-region.c
parentmtd: st_spi_fsm: Simplify error checking in .probe() a bit (diff)
downloadkernel-278811d5a7b2af4e737c88ab3137d3ccc0732ac1.tar.gz
kernel-278811d5a7b2af4e737c88ab3137d3ccc0732ac1.zip
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: 9b78ef0c7997 ("mtd: parsers: add support for Sercomm partitions") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions