Re: [PATCH] parisc: eisa: Fix infinite loop when parsing invalid IRQ value
From: Helge Deller
Date: Tue Aug 18 2026 - 05:47:56 EST
On 8/17/26 05:29, Pei Xiao wrote:
When an invalid value is passed via the "eisa_irq_edge=" kernelapplied.
command line parameter (e.g. "eisa_irq_edge=16,5"), eisa_irq_setup()
prints an error message and continues without advancing the current
position. As a result the same invalid value is parsed again and
again, causing an infinite loop while the kernel boots.
Advance to the next comma-separated entry, or stop parsing when there
is no next entry, before continuing so that the remaining entries are
processed normally.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Pei Xiao <xiaopei01@xxxxxxxxxx>
---
drivers/parisc/eisa.c | 5 +++++
1 file changed, 5 insertions(+)
Thanks!
Helge