spapr: fix possible Negative array index read
[qemu/rayw.git] / hw / acpi / acpi_interface.c
blobd82131326a8e01204db0bcc18fa8e3c543153de7
1 #include "qemu/osdep.h"
2 #include "hw/acpi/acpi_dev_interface.h"
3 #include "qemu/module.h"
5 static void register_types(void)
7 static const TypeInfo acpi_dev_if_info = {
8 .name = TYPE_ACPI_DEVICE_IF,
9 .parent = TYPE_INTERFACE,
10 .class_size = sizeof(AcpiDeviceIfClass),
13 type_register_static(&acpi_dev_if_info);
16 type_init(register_types)