Skip to contentSkip to conversation

IDE: terminate ACPI DMI list

PATCH In review Jeff Garzik 2 participants 2 messages Jan 11, 2008 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IDE: terminate ACPI DMI list

Fix oops reported by Trond.

---
 drivers/ide/ide-acpi.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/ide/ide-acpi.c +2 -0
index fe6768a..899d565 100644
@@ -85,6 +85,8 @@ static const struct dmi_system_id ide_acpi_dmi_table[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "KAM1.60")
 		},
 	},
+
+	{ }	/* terminate list */
 };
 
 static int ide_acpi_blacklist(void)
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jeff Garzik

Fix oops reported by Trond.

Linus, could you apply it?

Quoted 17 lines
---
 drivers/ide/ide-acpi.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/ide/ide-acpi.c +2 -0
index fe6768a..899d565 100644
@@ -85,6 +85,8 @@ static const struct dmi_system_id ide_acpi_dmi_table[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "KAM1.60")
 		},
 	},
+
+	{ }	/* terminate list */
 };
 
 static int ide_acpi_blacklist(void)