Commit ae40ec73 authored by Jay Fenlason's avatar Jay Fenlason Committed by Ralf Bächle

[PATCH] sunhme patch

Without this patch, insmod-ing the sunhme module crashes on my fc2
box.

		-- JF
parent aba339be
......@@ -2922,7 +2922,8 @@ static int is_quattro_p(struct pci_dev *pdev)
struct list_head *tmp;
int n_hmes;
if (busdev->vendor != PCI_VENDOR_ID_DEC ||
if (busdev == NULL ||
busdev->vendor != PCI_VENDOR_ID_DEC ||
busdev->device != PCI_DEVICE_ID_DEC_21153)
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment