@@ -37,40 +37,40 @@ static int __init cf_check check_port80(void)
.callback = dmi_hvm_deny_port80,
.ident = "Compaq Presario V6000",
.matches = {
- DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
- DMI_MATCH(DMI_BOARD_NAME, "30B7")
+ [0] = DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
+ [1] = DMI_MATCH(DMI_BOARD_NAME, "30B7")
}
},
{
.callback = dmi_hvm_deny_port80,
.ident = "HP Pavilion dv9000z",
.matches = {
- DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
- DMI_MATCH(DMI_BOARD_NAME, "30B9")
+ [0] = DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
+ [1] = DMI_MATCH(DMI_BOARD_NAME, "30B9")
}
},
{
.callback = dmi_hvm_deny_port80,
.ident = "HP Pavilion dv6000",
.matches = {
- DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
- DMI_MATCH(DMI_BOARD_NAME, "30B8")
+ [0] = DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
+ [1] = DMI_MATCH(DMI_BOARD_NAME, "30B8")
}
},
{
.callback = dmi_hvm_deny_port80,
.ident = "HP Pavilion tx1000",
.matches = {
- DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
- DMI_MATCH(DMI_BOARD_NAME, "30BF")
+ [0] = DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
+ [1] = DMI_MATCH(DMI_BOARD_NAME, "30BF")
}
},
{
.callback = dmi_hvm_deny_port80,
.ident = "Presario F700",
.matches = {
- DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
- DMI_MATCH(DMI_BOARD_NAME, "30D3")
+ [0] = DMI_MATCH(DMI_BOARD_VENDOR, "Quanta"),
+ [1] = DMI_MATCH(DMI_BOARD_NAME, "30D3")
}
},
{ }
Partially explicitly initalized .matches arrays result in violations of Rule 9.3; this is resolved by using designated initializers, which is permitted by the Rule. Mechanical changes. Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com> --- xen/arch/x86/hvm/quirks.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)