Re: [PATCH] parisc: eisa: Fix infinite loop when parsing invalid IRQ value

Helge Deller <[email protected]>
Newsgroups org.kernel.vger.linux-parisc,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/17/26 05:29, Pei Xiao wrote:
> When an invalid value is passed via the "eisa_irq_edge=" kernel
> 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 <[email protected]>
> ---
>   drivers/parisc/eisa.c | 5 +++++
>   1 file changed, 5 insertions(+)
applied.

Thanks!
Helge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.