PCI: reject mmio ranges starting at 0 on pci_bridge read
authorYinghai Lu <yinghai@kernel.org>
Fri, 22 Jan 2010 09:02:22 +0000 (01:02 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:17:21 +0000 (16:17 -0800)
commitcd81e1ea1a4cda94aa5f3e942301cf0da497c262
tree91f271f961f560e62f1e0790e766f98afc287a00
parent568ddef8735d4a51a521ba6af026ee0c32281566
PCI: reject mmio ranges starting at 0 on pci_bridge read

We already track unassigned resources in struct resource, and this
prevents us from overwriting resource flags and info in the unassigned
case.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/probe.c