From: Thomas Gleixner Date: Thu, 24 Mar 2011 21:53:10 +0000 (+0100) Subject: x86: DT: Fix return condition in irq_create_of_mapping() X-Git-Tag: v2.6.39-rc1~64^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a30b254b88d2d4f5af00835a9b7f70326def9b;p=pandora-kernel.git x86: DT: Fix return condition in irq_create_of_mapping() 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 Cc: Sebastian Andrzej Siewior --- Reading git-diff-tree failed