]> git.ipfire.org Git - thirdparty/linux.git/commit
net: bcmasp: fix double free of WoL irq
authorJustin Chen <justin.chen@broadcom.com>
Thu, 19 Mar 2026 23:48:12 +0000 (16:48 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Mar 2026 02:07:28 +0000 (19:07 -0700)
commitcbfa5be2bf64511d49b854a0f9fd6d0b5118621f
treefad2fa92922a9e31ad3ae435f11c474b8e89bf78
parent7a4fc5ca79656955b88b6483f505321e1a683f0d
net: bcmasp: fix double free of WoL irq

We do not need to free wol_irq since it was instantiated with
devm_request_irq(). So devres will free for us.

Fixes: a2f0751206b0 ("net: bcmasp: Add support for WoL magic packet")
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260319234813.1937315-2-justin.chen@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/asp2/bcmasp.c