Skip to content
Commit 3c22192d authored by huhai's avatar huhai Committed by Greg Kroah-Hartman
Browse files

MIPS: Remove repetitive increase irq_err_count



[ Upstream commit c81aba8f ]

commit 979934da ("[PATCH] mips: update IRQ handling for vr41xx") added
a function irq_dispatch, and it'll increase irq_err_count when the get_irq
callback returns a negative value, but increase irq_err_count in get_irq
was not removed.

And also, modpost complains once gpio-vr41xx drivers become modules.
  ERROR: modpost: "irq_err_count" [drivers/gpio/gpio-vr41xx.ko] undefined!

So it would be a good idea to remove repetitive increase irq_err_count in
get_irq callback.

Fixes: 27fdd325 ("MIPS: Update VR41xx GPIO driver to use gpiolib")
Fixes: 979934da ("[PATCH] mips: update IRQ handling for vr41xx")
Reported-by: default avatark2ci <kernel-bot@kylinos.cn>
Signed-off-by: default avatarhuhai <huhai@kylinos.cn>
Signed-off-by: default avatarGenjian Zhang <zhanggenjian@kylinos.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cc649a78
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