Skip to content
Commit 1d776f08 authored by Liang He's avatar Liang He Committed by Greg Kroah-Hartman
Browse files

net/dsa/hirschmann: Add missing of_node_get() in hellcreek_led_setup()



commit 16d584d2 upstream.

of_find_node_by_name() will decrease the refcount of its first arg and
we need a of_node_get() to keep refcount balance.

Fixes: 7d9ee2e8 ("net: dsa: hellcreek: Add PTP status LEDs")
Signed-off-by: default avatarLiang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220622040621.4094304-1-windhl@126.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 031561ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment