WSL2-Linux-Kernel/arch/x86/pci
Yinghai Lu 3d9befd2cd 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 <yinghai.lu@sun.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Gary Hade <gary.hade@us.ibm.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-11-17 16:27:01 +01:00
..
Makefile x86_64: move pci 2007-10-11 11:17:12 +02:00
Makefile_32 i386: move pci 2007-10-11 11:16:36 +02:00
Makefile_64 x86_64: move pci 2007-10-11 11:17:12 +02:00
acpi.c x86: check boundary in count setup resource 2007-11-17 16:27:01 +01:00
common.c x86: pci use pci=bfsort for HP DL385 G2 and DL585 G2 2007-10-17 20:15:46 +02:00
direct.c i386: move pci 2007-10-11 11:16:36 +02:00
early.c i386: move pci 2007-10-11 11:16:36 +02:00
fixup.c PCI: re-enable onboard sound on "MSI K8T Neo2-FIR" 2007-10-12 15:03:16 -07:00
i386.c PCI: modify PCI bridge control ISA flag for clarity 2007-10-12 15:03:18 -07:00
init.c i386: move pci 2007-10-11 11:16:36 +02:00
irq.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
k8-bus_64.c x86_64: move pci 2007-10-11 11:17:12 +02:00
legacy.c i386: move pci 2007-10-11 11:16:36 +02:00
mmconfig-shared.c i386: move pci 2007-10-11 11:16:36 +02:00
mmconfig_32.c i386: move pci 2007-10-11 11:16:36 +02:00
mmconfig_64.c x86_64: move pci 2007-10-11 11:17:12 +02:00
numa.c i386: move pci 2007-10-11 11:16:36 +02:00
pcbios.c i386: move pci 2007-10-11 11:16:36 +02:00
pci.h PCI: use _CRS for PCI resource allocation 2007-10-12 15:03:18 -07:00
visws.c i386: move pci 2007-10-11 11:16:36 +02:00