diff options
author | Miaoqian Lin <[email protected]> | 2022-04-04 08:52:32 +0000 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2022-08-29 18:08:48 +0200 |
commit | 9a2ea132df860177b33c9fd421b26c4e9a0a9396 (patch) | |
tree | 8bc498356ff3339458d1216c1792aa22b1536b42 /lib/string_helpers.c | |
parent | 77e0ccd6248272fd60ce9cce101b6e27e8d50d47 (diff) |
HSI: omap_ssi: Fix refcount leak in ssi_probe
When returning or breaking early from a
for_each_available_child_of_node() loop, we need to explicitly call
of_node_put() on the child node to possibly release the node.
Fixes: b209e047bc74 ("HSI: Introduce OMAP SSI driver")
Signed-off-by: Miaoqian Lin <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions