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
..
2006-12-16 10:46:21 -05:00
2006-12-13 10:11:25 -05:00
2006-12-10 09:55:40 -08:00
2006-12-11 12:43:35 +01:00
2006-12-17 21:59:23 -08:00
2006-12-11 13:49:53 +11:00
2006-12-17 10:21:53 -08:00
2006-12-13 09:05:48 -08:00
2006-12-10 09:57:22 -08:00
2006-12-10 09:57:22 -08:00