diff options
| author | Andy Shevchenko <[email protected]> | 2024-06-06 16:13:03 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-06-10 12:12:14 +0000 |
| commit | d029edefed39647c797c2710aedd9d31f84c069e (patch) | |
| tree | f531355004a616089af90756121b6c208a12edc8 /net/ipv4/tcp_timer.c | |
| parent | tcp: fix race in tcp_v6_syn_recv_sock() (diff) | |
| download | kernel-d029edefed39647c797c2710aedd9d31f84c069e.tar.gz kernel-d029edefed39647c797c2710aedd9d31f84c069e.zip | |
net dsa: qca8k: fix usages of device_get_named_child_node()
The documentation for device_get_named_child_node() mentions this
important point:
"
The caller is responsible for calling fwnode_handle_put() on the
returned fwnode pointer.
"
Add fwnode_handle_put() to avoid leaked references.
Fixes: 1e264f9d2918 ("net: dsa: qca8k: add LEDs basic support")
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions
