projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ffbfa
)
[libata] ata_piix: properly terminate DMI system list
author
Jeff Garzik
<jeff@garzik.org>
Sat, 1 Sep 2007 10:48:52 +0000
(06:48 -0400)
committer
Jeff Garzik
<jeff@garzik.org>
Sat, 1 Sep 2007 10:48:52 +0000
(06:48 -0400)
If you don't terminate a list, bad things happen...
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ata_piix.c
patch
|
blob
|
history
diff --git
a/drivers/ata/ata_piix.c
b/drivers/ata/ata_piix.c
index e40c94f5f59d7a0fa3c1f1633b5fdfd1cdfafe1d..3b8bf1812dc8588a8b02ae47e49abfdcc9bdb7a0 100644
(file)
--- a/
drivers/ata/ata_piix.c
+++ b/
drivers/ata/ata_piix.c
@@
-955,7
+955,8
@@
static int piix_broken_suspend(void)
DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE M500"),
},
},
- { }
+
+ { } /* terminate list */
};
static const char *oemstrs[] = {
"Tecra M3,",
@@
-1187,6
+1188,8
@@
static void piix_iocfg_bit18_quirk(struct pci_dev *pdev)
DMI_MATCH(DMI_PRODUCT_NAME, "M570U"),
},
},
+
+ { } /* terminate list */
};
u32 iocfg;