From 9ac0ce8596b17093739d42721cc8a616cedf734b Mon Sep 17 00:00:00 2001 From: Jesper Juhl Date: Mon, 4 Dec 2006 15:14:48 -0800 Subject: [PATCH] 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 Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed