提交 7d051548 编写于 作者: J Jeff Garzik

[libata] ata_piix: properly terminate DMI system list

If you don't terminate a list, bad things happen...
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 40ffbfad
...@@ -955,7 +955,8 @@ static int piix_broken_suspend(void) ...@@ -955,7 +955,8 @@ static int piix_broken_suspend(void)
DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE M500"), DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE M500"),
}, },
}, },
{ }
{ } /* terminate list */
}; };
static const char *oemstrs[] = { static const char *oemstrs[] = {
"Tecra M3,", "Tecra M3,",
...@@ -1187,6 +1188,8 @@ static void piix_iocfg_bit18_quirk(struct pci_dev *pdev) ...@@ -1187,6 +1188,8 @@ static void piix_iocfg_bit18_quirk(struct pci_dev *pdev)
DMI_MATCH(DMI_PRODUCT_NAME, "M570U"), DMI_MATCH(DMI_PRODUCT_NAME, "M570U"),
}, },
}, },
{ } /* terminate list */
}; };
u32 iocfg; u32 iocfg;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册