Skip to content

Commit

Permalink
[libata] ata_piix: properly terminate DMI system list
Browse files Browse the repository at this point in the history
If you don't terminate a list, bad things happen...

Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Jeff Garzik committed Sep 1, 2007
1 parent 40ffbfa commit 7d05154
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/ata/ata_piix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,",
Expand Down Expand Up @@ -1187,6 +1188,8 @@ static void piix_iocfg_bit18_quirk(struct pci_dev *pdev)
DMI_MATCH(DMI_PRODUCT_NAME, "M570U"),
},
},

{ } /* terminate list */
};
u32 iocfg;

Expand Down

0 comments on commit 7d05154

Please sign in to comment.