aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2025-09-01 15:32:23 +0800
committerJakub Kicinski <kuba@kernel.org>2025-09-02 17:04:03 -0700
commitf63e7c8a83892781f6ceb55566f9497639c44555 (patch)
treeda6da60c180f8d188e76500083d8b05022a186c4 /tools/perf/scripts/python
parentipv6: annotate data-races around devconf->rpl_seg_enabled (diff)
downloadwireguard-linux-f63e7c8a83892781f6ceb55566f9497639c44555.tar.xz
wireguard-linux-f63e7c8a83892781f6ceb55566f9497639c44555.zip
net: dsa: mv88e6xxx: Fix fwnode reference leaks in mv88e6xxx_port_setup_leds
Fix multiple fwnode reference leaks: 1. The function calls fwnode_get_named_child_node() to get the "leds" node, but never calls fwnode_handle_put(leds) to release this reference. 2. Within the fwnode_for_each_child_node() loop, the early return paths that don't properly release the "led" fwnode reference. This fix follows the same pattern as commit d029edefed39 ("net dsa: qca8k: fix usages of device_get_named_child_node()") Fixes: 94a2a84f5e9e ("net: dsa: mv88e6xxx: Support LED control") Cc: stable@vger.kernel.org Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patch.msgid.link/20250901073224.2273103-1-linmq006@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions