x86/PCI: fix boundary checking when using root CRS
authorYinghai Lu <yinghai@kernel.org>
Thu, 25 Jun 2009 02:01:19 +0000 (19:01 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 30 Jun 2009 20:43:57 +0000 (13:43 -0700)
Don't touch info->res_num if we are out of space.

Acked-by: Gary Hade <garyhade@us.ibm.com>
Tested-by: Gary Hade <garyhade@us.ibm.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found