summaryrefslogtreecommitdiff
path: root/arch/x86/pci/mmconfig_32.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-11-13 17:34:03 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-24 15:29:03 -0800
commitf7ca69848786bb99fdfafb511791b078c298438e (patch)
tree21276998b08fed3711b4a7feff1d427f92174192 /arch/x86/pci/mmconfig_32.c
parent463a5df175e3ceed684397ee2f8a3eb523d835a0 (diff)
downloadlinux-3.10-f7ca69848786bb99fdfafb511791b078c298438e.tar.gz
linux-3.10-f7ca69848786bb99fdfafb511791b078c298438e.tar.bz2
linux-3.10-f7ca69848786bb99fdfafb511791b078c298438e.zip
x86/PCI: MMCONFIG: reject MMCONFIG apertures at address zero
Since all MMCONFIG regions go through pci_mmconfig_add(), we can test the address once there. If the caller supplies an address of zero, we never insert it in the pci_mmcfg_config[] table, so no need to test it elsewhere. Reviewed-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/x86/pci/mmconfig_32.c')
0 files changed, 0 insertions, 0 deletions