All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] m68k/q40: Revert "m68k/q40: Fix q40_irq_startup() to return -ENXIO on failures"
@ 2014-07-23 12:51 Sasha Levin
  2014-07-23 14:06 ` Guenter Roeck
  0 siblings, 1 reply; 8+ messages in thread
From: Sasha Levin @ 2014-07-23 12:51 UTC (permalink / raw)
  To: geert
  Cc: rostedt, gnomes, linux, xerofoify, linux-m68k, linux-kernel,
	Sasha Levin, Sasha Levin

Revert since we're trying to return -ENXIO from a function returning
unsigned int. Not only it causes compiler warnings it's also obviously
incorrect.

In general, watch for patches from Nick Krause since they are not even
build tested.

Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 arch/m68k/q40/q40ints.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c
index 9dfa1ea..513f9bb 100644
--- a/arch/m68k/q40/q40ints.c
+++ b/arch/m68k/q40/q40ints.c
@@ -49,7 +49,7 @@ static unsigned int q40_irq_startup(struct irq_data *data)
 	case 1: case 2: case 8: case 9:
 	case 11: case 12: case 13:
 		printk("%s: ISA IRQ %d not implemented by HW\n", __func__, irq);
-		return -ENXIO;
+		/* FIXME return -ENXIO; */
 	}
 	return 0;
 }
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-07-26 16:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-23 12:51 [PATCH] m68k/q40: Revert "m68k/q40: Fix q40_irq_startup() to return -ENXIO on failures" Sasha Levin
2014-07-23 14:06 ` Guenter Roeck
2014-07-23 15:39   ` Nick Krause
2014-07-23 16:02     ` Davidlohr Bueso
2014-07-26 15:21   ` Geert Uytterhoeven
2014-07-26 15:33     ` Sasha Levin
2014-07-26 15:57       ` Geert Uytterhoeven
2014-07-26 16:58     ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.