aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorPavel Zhigulin <Pavel.Zhigulin@kaspersky.com>2025-11-13 16:57:44 +0300
committerJakub Kicinski <kuba@kernel.org>2025-11-14 17:46:32 -0800
commite6751b0b19a6baab219a62e1e302b8aa6b5a55b2 (patch)
tree9e0fb96edbd5b46a6db75b5cc34d37cbc1957051 /scripts/gdb/linux/timerlist.py
parentmlxsw: spectrum: Fix memory leak in mlxsw_sp_flower_stats() (diff)
downloadwireguard-linux-e6751b0b19a6baab219a62e1e302b8aa6b5a55b2.tar.xz
wireguard-linux-e6751b0b19a6baab219a62e1e302b8aa6b5a55b2.zip
net: dsa: hellcreek: fix missing error handling in LED registration
The LED setup routine registered both led_sync_good and led_is_gm devices without checking the return values of led_classdev_register(). If either registration failed, the function continued silently, leaving the driver in a partially-initialized state and leaking a registered LED classdev. Add proper error handling Fixes: 7d9ee2e8ff15 ("net: dsa: hellcreek: Add PTP status LEDs") Signed-off-by: Pavel Zhigulin <Pavel.Zhigulin@kaspersky.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Kurt Kanzenbach <kurt@linutronix.de> Link: https://patch.msgid.link/20251113135745.92375-1-Pavel.Zhigulin@kaspersky.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions