mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-27 19:53:15 -04:00
net: ngbe: correct misleading interrupt comment
In ngbe_irq_enable(), the code subsequently calls wx_intr_enable() to enable interrupts. However, the preceding comment incorrectly stated "mask interrupt", which means disabling or blocking interrupts. This patch corrects the comment to "unmask interrupt" to accurately reflect the actual behavior of the code. No functional changes are introduced. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Link: https://patch.msgid.link/147244C2750FF990+20260730065409.50807-1-jiawenwu@trustnetic.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
8c7badd19e
commit
d661abdc30
@@ -177,7 +177,7 @@ static void ngbe_irq_enable(struct wx *wx, bool queues)
|
||||
|
||||
wr32(wx, WX_PX_MISC_IEN, mask);
|
||||
|
||||
/* mask interrupt */
|
||||
/* unmask interrupt */
|
||||
if (queues)
|
||||
wx_intr_enable(wx, NGBE_INTR_ALL);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user