pci_get_resource_list() was returning an illegal pointer instead of NULL
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 4 May 2007 17:25:04 +0000 (17:25 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 4 May 2007 17:25:04 +0000 (17:25 +0000)
commitb0486c83a8f6492dcc8941711cccc6cc3d2dea03
tree365e8f15eb830fc96037a979cb3583db209d95ad
parent091bff168108314f9c4a6c6ad6b7e145545a58c8
pci_get_resource_list() was returning an illegal pointer instead of NULL
in cases where no resource list is present.

Reported-by: Martin <dragonfly@wommm.nl>
sys/bus/pci/pci.c