The patch titled Be a bit defensive in quirk_nvidia_ck804() so we don't risk dereferencing a NULL pdev. has been removed from the -mm tree. Its filename was be-a-bit-defensive-in-quirk_nvidia_ck804-so-we-dont-risk-dereferencing-a-null-pdev.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: Be a bit defensive in quirk_nvidia_ck804() so we don't risk dereferencing a NULL pdev. From: Jesper Juhl <jesper.juhl@xxxxxxxxx> 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@xxxxxxxxx> Acked-by: Alan Cox <alan@xxxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/pci/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/pci/quirks.c~be-a-bit-defensive-in-quirk_nvidia_ck804-so-we-dont-risk-dereferencing-a-null-pdev drivers/pci/quirks.c --- a/drivers/pci/quirks.c~be-a-bit-defensive-in-quirk_nvidia_ck804-so-we-dont-risk-dereferencing-a-null-pdev +++ a/drivers/pci/quirks.c @@ -1743,6 +1743,8 @@ static void __devinit quirk_nvidia_ck804 * a single one having MSI is enough to be sure that MSI are supported. */ pdev = pci_get_slot(dev->bus, 0); + if (!pdev) + return; if (!msi_ht_cap_enabled(dev) && !msi_ht_cap_enabled(pdev)) { printk(KERN_WARNING "PCI: MSI quirk detected. " "MSI disabled on chipset %s.\n", _ Patches currently in -mm which might be from jesper.juhl@xxxxxxxxx are origin.patch git-acpi.patch nfs-kill-obsolete-nfs_paranoia.patch debug-shared-irqs.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html