android_kernel_xiaomi_sm8350/drivers/pci
Jesper Juhl 9ac0ce8596 PCI: Be a bit defensive in quirk_nvidia_ck804() so we don't risk dereferencing a NULL pdev.
pci_get_slot() may return NULL if nothing was found.  quirk_nvidia_ck804()
does not check the value returned from pci_get_slot(), so it may end up
causing a NULL pointer deref.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-20 10:54:43 -08:00
..
hotplug rpaphp: compiler warning cleanup 2006-12-20 10:54:42 -08:00
pcie PCI: pcieport-driver: remove invalid warning message 2006-12-20 10:54:42 -08:00
.gitignore
access.c [PATCH] severing module.h->sched.h 2006-12-04 02:00:22 -05:00
bus.c
hotplug.c
htirq.c PCI: Use pci_find_ht_capability() in drivers/pci/htirq.c 2006-12-20 10:54:42 -08:00
Kconfig Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2006-12-01 16:41:27 -08:00
Makefile [PATCH] htirq: tidy up the htirq code 2006-10-04 07:55:30 -07:00
msi.c Merge branch 'intx' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6 2006-12-07 15:04:20 -08:00
msi.h PCI: Make some MSI-X #defines generic 2006-12-01 14:36:56 -08:00
pci-acpi.c pci: clear osc support flags if no _OSC method 2006-12-01 14:36:58 -08:00
pci-driver.c PCI: Fix multiple problems with VIA hardware 2006-12-20 10:54:43 -08:00
pci-sysfs.c PCI: switch pci_{enable,disable}_device() to be nestable 2006-12-01 14:36:59 -08:00
pci.c PCI: Add pci_find_ht_capability() for finding Hypertransport capabilities 2006-12-20 10:54:42 -08:00
pci.h PCI: switch pci_{enable,disable}_device() to be nestable 2006-12-01 14:36:59 -08:00
probe.c [PATCH] add numa node information to struct device 2006-12-07 08:39:22 -08:00
proc.c [PATCH] struct path: convert pci 2006-12-08 08:28:48 -08:00
quirks.c PCI: Be a bit defensive in quirk_nvidia_ck804() so we don't risk dereferencing a NULL pdev. 2006-12-20 10:54:43 -08:00
remove.c
rom.c Altix: Initial ACPI support - ROM shadowing. 2006-12-01 14:36:58 -08:00
search.c PCI: Fix multiple problems with VIA hardware 2006-12-20 10:54:43 -08:00
setup-bus.c [PATCH] fix "PCI: assign ioapic resource at hotplug" 2006-10-04 07:55:14 -07:00
setup-irq.c
setup-res.c
syscall.c