diff options
| author | Miaoqian Lin <[email protected]> | 2022-06-02 15:08:49 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-10 11:21:55 +0200 |
| commit | b5c5b13cb45e2c88181308186b0001992cb41954 (patch) | |
| tree | df24aec74d94fd6521f31a65dc36d7b0c8de6772 /tools/perf/scripts/python | |
| parent | 3497b9a5c8c3d4efaa15ab542cc6a774b0e0a7c6 (diff) | |
usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
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() to avoid refcount leak.
Fixes: 796bcae7361c ("USB: powerpc: Workaround for the PPC440EPX USBH_23 errata [take 3]")
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Miaoqian Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions