summaryrefslogtreecommitdiff
path: root/scripts/Makefile.package
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2024-04-08 21:47:40 +0300
committerDavid S. Miller <davem@davemloft.net>2024-04-10 12:44:29 +0300
commit19fa4f2a85d777a8052e869c1b892a2f7556569d (patch)
treecc8ac9890224038eaff2f787f082e6d0679c47a5 /scripts/Makefile.package
parent81665adf25d28a00a986533f1d3a5df76b79cad9 (diff)
downloadlinux-19fa4f2a85d777a8052e869c1b892a2f7556569d.tar.xz
r8169: fix LED-related deadlock on module removal
Binding devm_led_classdev_register() to the netdev is problematic because on module removal we get a RTNL-related deadlock. Fix this by avoiding the device-managed LED functions. Note: We can safely call led_classdev_unregister() for a LED even if registering it failed, because led_classdev_unregister() detects this and is a no-op in this case. Fixes: 18764b883e15 ("r8169: add support for LED's on RTL8168/RTL8101") Cc: stable@vger.kernel.org Reported-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Makefile.package')
0 files changed, 0 insertions, 0 deletions