]> err.no Git - linux-2.6/commit
genirq: better warning on irqchip->set_type() failure
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 5 Aug 2008 20:01:14 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Aug 2008 21:33:47 +0000 (14:33 -0700)
commitc69ad71bcdecbaab82cfacb1dc967bd7fd967a3b
tree0554837705dd0e63d18522085c22ab0c2c1467ff
parent5b2becc8cffdccdd60c63099f592ddd35aa6c34f
genirq: better warning on irqchip->set_type() failure

While I'm glad to finally see the hole fixed whereby passing an invalid
IRQ trigger type to request_irq() would be ignored, the current diagnostic
isn't quite useful.  Fixed by also listing the trigger type which was
rejected.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/irq/manage.c