x86: DT: Fix return condition in irq_create_of_mapping()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Mar 2011 21:53:10 +0000 (22:53 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 24 Mar 2011 22:17:56 +0000 (23:17 +0100)
The xlate() function returns 0 or a negative error code. Returning the
error code blindly will be seen as an huge irq number by the calling
function because irq_create_of_mapping() returns an unsigned value.

Return 0 (NO_IRQ) as required.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

No differences found