summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>2024-11-01 17:17:29 -0400
committerPaolo Abeni <pabeni@redhat.com>2024-11-07 10:04:13 +0100
commit25d70702142ac2115e75e01a0a985c6ea1d78033 (patch)
tree53785fb6d79689f3543176f3666966a2bb7d97a0 /drivers/net/virtio_net.c
parent1f26339b2ed63d1e8e18a18674fb73a392f3660e (diff)
downloadlinux-25d70702142ac2115e75e01a0a985c6ea1d78033.tar.gz
linux-25d70702142ac2115e75e01a0a985c6ea1d78033.tar.bz2
linux-25d70702142ac2115e75e01a0a985c6ea1d78033.zip
net: stmmac: Fix unbalanced IRQ wake disable warning on single irq case
Commit a23aa0404218 ("net: stmmac: ethtool: Fixed calltrace caused by unbalanced disable_irq_wake calls") introduced checks to prevent unbalanced enable and disable IRQ wake calls. However it only initialized the auxiliary variable on one of the paths, stmmac_request_irq_multi_msi(), missing the other, stmmac_request_irq_single(). Add the same initialization on stmmac_request_irq_single() to prevent "Unbalanced IRQ <x> wake disable" warnings from being printed the first time disable_irq_wake() is called on platforms that run on that code path. Fixes: a23aa0404218 ("net: stmmac: ethtool: Fixed calltrace caused by unbalanced disable_irq_wake calls") Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20241101-stmmac-unbalanced-wake-single-fix-v1-1-5952524c97f0@collabora.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions