From: Sebastian Ott Date: Wed, 9 Jul 2014 10:46:39 +0000 (+0200) Subject: misc/GenWQE: fix pci_enable_msi usage X-Git-Tag: cleanup-for-v3.18~127^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7276883f1f98cd0a92fdc049f69bdc0912f7fc16;p=pandora-kernel.git misc/GenWQE: fix pci_enable_msi usage GenWQE used to call pci_enable_msi_block to allocate a desired number of MSI's. If that was not possible pci_enable_msi_block returned with a smaller number which might be possible to allocate. GenWQE then called pci_enable_msi_block with that number. Since commit a30d0108b "GenWQE: Use pci_enable_msi_exact() instead of pci_enable_msi_block()" pci_enable_msi_exact is used which fails if the desired number of MSI's was not possible to allocate. Change GenWQE to use pci_enable_msi_range to restore the old behavior. Signed-off-by: Sebastian Ott Reviewed-by: Alexander Gordeev Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed