linux-mips
[Top] [All Lists]

Possible bug in 8250.c

To: <linux-mips@linux-mips.org>
Subject: Possible bug in 8250.c
From: Ivica Mikec <mikeci@acm.org>
Date: Thu, 11 Aug 2011 16:23:27 -0700
Reply-to: mikeci@acm.org
Sender: linux-mips-bounce@linux-mips.org
Hi!


I noticed a problem in 8250.c.

My board has only one UART port, and is 16550 compatible, so in function 
serial8250_interrupt I see that serial_in function is called twice. Second 
time, code "else if (end == NULL)" is executed and function return IRQ_NONE. 
This causes an entry in /proc/irq/spurious:

count 239
unhandled 1
last_unhandled 4294700846 ms

But this is not a spurious interrupt.

Regards.

<Prev in Thread] Current Thread [Next in Thread>
  • Possible bug in 8250.c, Ivica Mikec <=