diff options
| author | Miaoqian Lin <[email protected]> | 2022-06-07 15:16:01 +0400 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2022-06-15 16:04:01 +0200 |
| commit | 4b32e054335ea0ce50967f63a7bfd4db058b14b9 (patch) | |
| tree | 6abbbc83a3aca0ed6bd4c0e7822871eaaa999059 /include/linux/debugobjects.h | |
| parent | 2ed2c3814951e7cff982b26c81917e6bbb10f3ae (diff) | |
pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak."
Fixes: c2f6d059abfc ("pinctrl: nomadik: refactor DT parser to take two paths")
Signed-off-by: Miaoqian Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions