[PATCH] powerpc: CPM2 interrupt handler failure after 100,000

STALE7605d

2 messages, 2 authors, 2005-12-19 · open the first message on its own page

[PATCH] powerpc: CPM2 interrupt handler failure after 100,000

From: Nathael Pajani <hidden>
Date: 2005-12-19 08:57:49

 interrupts
Message-Id: [off-list ref]
X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.9; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi!

Hum.. in the patch you moved from "void" to "int":
-static void cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
+static int cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
But should'nt it be "irqreturn_t" ?
static irqreturn_t cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)

+++
Have fun :)
----=20
Nathael PAJANI
Ing=E9nieur CPE Lyon
nathael.pajani@cpe.fr

Re: [PATCH] powerpc: CPM2 interrupt handler failure after 100,000

From: Kumar Gala <hidden>
Date: 2005-12-19 15:18:05

On Dec 19, 2005, at 3:00 AM, Nathael Pajani wrote:
 interrupts
Message-Id: [off-list ref]
X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.9; i486-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi!

Hum.. in the patch you moved from "void" to "int":
quoted
-static void cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
+static int cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
But should'nt it be "irqreturn_t" ?
static irqreturn_t cpm2_cascade(int irq, void *dev_id, struct pt_regs *regs)
Yep, should be.  I'll fixup the patch and resend.

- kumar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help