android_kernel_xiaomi_sm8350/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
..
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
early.c
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
irq.c spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
k8-bus_64.c
legacy.c
Makefile
Makefile_32
Makefile_64
mmconfig_32.c
mmconfig_64.c
mmconfig-shared.c
numa.c
pcbios.c
pci.h PCI: use _CRS for PCI resource allocation 2007-10-12 15:03:18 -07:00
visws.c