From mboxrd@z Thu Jan 1 00:00:00 1970 From: Finn Thain Subject: [PATCH] mac68k: fix mac_irq_pending() for PSC MACE and SCC Date: Mon, 18 Jul 2011 19:44:17 +1000 (EST) Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from vm4.telegraphics.com.au ([98.124.60.149]:47424 "EHLO vps4.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755202Ab1GRJmy (ORCPT ); Mon, 18 Jul 2011 05:42:54 -0400 Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: linux-m68k@vger.kernel.org Cc: Geert Uytterhoeven Add missing return statement. The docs say that the level 4 PSC IRQs relate to MACE DMA and SCC. Since those drivers don't call mac_irq_pending() this patch has no affect. But it should be fixed all the same, since it can be useful for MACE debugging. Signed-off-by: Finn Thain --- arch/m68k/mac/macints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.39/arch/m68k/mac/macints.c =================================================================== --- linux-2.6.39.orig/arch/m68k/mac/macints.c 2011-07-18 19:22:54.000000000 +1000 +++ linux-2.6.39/arch/m68k/mac/macints.c 2011-07-18 19:29:37.000000000 +1000 @@ -370,7 +370,7 @@ int mac_irq_pending(unsigned int irq) break; case 4: if (psc_present) - psc_irq_pending(irq); + return psc_irq_pending(irq); break; } return 0;