From: Sebastian Ott Date: Wed, 29 Oct 2014 18:12:04 +0000 (+0100) Subject: s390/pci: improve irq number check for msix X-Git-Tag: omap-for-v3.19/fixes-rc1~124^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b19148f6e2d90738ecf0c2eeeb9bdbae25c59e9b;p=pandora-kernel.git s390/pci: improve irq number check for msix s390s arch_setup_msi_irqs function ensures that we don't return with more irqs than the PCI architecture allows and that a single PCI function doesn't consume more irqs than the kernel is configured for. At least the last check doesn't help much and should take the sum of all irqs into account. Since that's already done by irq_alloc_desc we can remove this check. As for the first check we should use the value provided by the firmware which can be less than what the PCI architecture allows. Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed