From: Yinghai Lu Date: Sat, 17 Nov 2007 15:27:01 +0000 (+0100) Subject: x86: check boundary in count setup resource X-Git-Tag: v2.6.24-rc4~114^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d9befd2cdf65b1768b0d3078a65cc0ae9aa6412;p=pandora-kernel.git x86: check boundary in count setup resource need to check info->res_num less than PCI_BUS_NUM_RESOURCES, so info->bus->resource[info->res_num] = res will not beyond of bus resource array when acpi returns too many resource entries. Signed-off-by: Yinghai Lu Cc: Greg Kroah-Hartman Cc: Gary Hade Cc: Len Brown Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed