aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-06-01 08:48:58 +0400
committerTony Lindgren <[email protected]>2022-06-28 07:36:26 +0300
commit9705db1eff38d6b9114121f9e253746199b759c9 (patch)
tree451f108ffecf3594ff2ac78dc4064b2b9879fc20 /drivers/usb/cdns3/cdns3-trace.c
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
ARM: OMAP2+: Fix refcount leak in omapdss_init_of
omapdss_find_dss_of_node() calls of_find_compatible_node() to get device node. of_find_compatible_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. Add missing of_node_put() in later error path and normal path. Fixes: e0c827aca0730 ("drm/omap: Populate DSS children in omapdss driver") Signed-off-by: Miaoqian Lin <[email protected]> Message-Id: <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions