You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[libata] ata_piix: properly terminate DMI system list
If you don't terminate a list, bad things happen... Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user