Skip to contentSkip to conversation

powerpc: CPM2 interrupt handler failure after 100,000

PATCH In review Nathael Pajani 2 participants 2 messages Dec 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: CPM2 interrupt handler failure after 100,000

interrupts
Message-Id: <[email protected]>
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":

Review

Quoted 2 lines
(quoted diff) +1 -1
-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
[email protected]

#1 lore raw
Quoted 9 lines · Nathael Pajani

interrupts
Message-Id: <[email protected]>
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!

Quoted 7 lines

Hum.. in the patch you moved from "void" to "int":

Quoted 3 lines

-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