aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-06-03 18:02:44 +0400
committerGreg Kroah-Hartman <[email protected]>2022-06-10 11:12:39 +0200
commit4757c9ade34178b351580133771f510b5ffcf9c8 (patch)
treeb67e0fecfe7603265c29c749986d5d35c635dc11 /scripts/bpf_doc.py
parent3755278f078460b021cd0384562977bf2039a57a (diff)
usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
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. of_node_put() will check NULL pointer. Fixes: 24a28e428351 ("USB: gadget driver for LPC32xx") Cc: stable <[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 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions