diff options
| author | Liang He <[email protected]> | 2022-06-17 11:46:37 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-21 16:38:53 +0200 |
| commit | 40a959d7042bb7711e404ad2318b30e9f92c6b9b (patch) | |
| tree | 716f913a9914030369cb4c266050398b6d45ed45 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | a37599ebfb656c2af4ca119de556eba29b6926d6 (diff) | |
usb: host: ohci-ppc-of: Fix refcount leak bug
In ohci_hcd_ppc_of_probe(), of_find_compatible_node() will return
a node pointer with refcount incremented. We should use of_node_put()
when it is not used anymore.
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Liang He <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions