From: Thomas Gleixner Date: Wed, 7 May 2014 15:44:10 +0000 (+0000) Subject: iommu: smar: Fix return value check of create_irq() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~17^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa5125a45568f8f666f6d2f224fe8ab261b1069e;p=pandora-kernel.git iommu: smar: Fix return value check of create_irq() ia64 returns a negative error code when allocation fails andx86 returns 0. Make it handle both. Signed-off-by: Thomas Gleixner Reviewed-by: Grant Likely Cc: Tony Luck Cc: Peter Zijlstra Cc: Fenghua Yu Cc: x86@kernel.org Acked-by: Joerg Roedel Cc: linux-ia64@vger.kernel.org Cc: iommu@lists.linux-foundation.org Link: http://lkml.kernel.org/r/20140507154336.178850165@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed