summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Ellerman2007-04-05 09:19:12 +0200
committerGreg Kroah-Hartman2007-05-03 04:02:37 +0200
commit314e77b3eec57001eaff82b82920150175b74e09 (patch)
tree7446d5c9faaf4bf5dcde576961c68fbe1813c998 /arch
parentMSI: Use a list instead of the custom link structure (diff)
downloadkernel-qcow2-linux-314e77b3eec57001eaff82b82920150175b74e09.tar.gz
kernel-qcow2-linux-314e77b3eec57001eaff82b82920150175b74e09.tar.xz
kernel-qcow2-linux-314e77b3eec57001eaff82b82920150175b74e09.zip
MSI: Remove dev->first_msi_irq
Now that we keep a list of msi descriptors, we don't need first_msi_irq in the pci dev. If we somehow have zero MSIs configured list_entry() will give us weird oopes or nice memory corruption bugs. So be paranoid. Add BUG_ONs and also a check in pci_msi_check_device() to make sure nvec > 0. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions