From: Thomas Gleixner Date: Wed, 7 May 2014 15:44:19 +0000 (+0000) Subject: s390: pci: Check return value of alloc_irq_desc() proper X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~17^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a0a94219074d79370b1cd1b533ead63d51c3730;p=pandora-kernel.git s390: pci: Check return value of alloc_irq_desc() proper alloc_irq_desc() returns an integer and as documented either a valid irq number or a negative error code. Checking for NO_IRQ is definitely not the proper error handling. Signed-off-by: Thomas Gleixner Reviewed-by: Grant Likely Cc: Tony Luck Cc: Peter Zijlstra Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: linux390@de.ibm.com Link: http://lkml.kernel.org/r/20140507154339.409085048@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed