diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2024-03-14 16:22:54 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-18 08:42:45 -0400 |
| commit | 69ea07a56ef54050a61b91fe8236fef4908fe5d1 (patch) | |
| tree | c769e08f58672a55db524923cf24b4f8dca6f946 /hw/smbios/smbios_legacy.c | |
| parent | 643e1c9ef9d90a6e80b82998d41c91302fef506b (diff) | |
| download | focaccia-qemu-69ea07a56ef54050a61b91fe8236fef4908fe5d1.tar.gz focaccia-qemu-69ea07a56ef54050a61b91fe8236fef4908fe5d1.zip | |
smbios: get rid of global smbios_ep_type
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Ani Sinha <anisinha@redhat.com> Tested-by: Fiona Ebner <f.ebner@proxmox.com> Message-Id: <20240314152302.2324164-14-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/smbios/smbios_legacy.c')
| -rw-r--r-- | hw/smbios/smbios_legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/smbios/smbios_legacy.c b/hw/smbios/smbios_legacy.c index a6544bf55a..06907cd16c 100644 --- a/hw/smbios/smbios_legacy.c +++ b/hw/smbios/smbios_legacy.c @@ -173,7 +173,7 @@ uint8_t *smbios_get_table_legacy(size_t *length, Error **errp) smbios_build_type_0_fields(); smbios_build_type_1_fields(); - if (!smbios_validate_table(errp)) { + if (!smbios_validate_table(SMBIOS_ENTRY_POINT_TYPE_32, errp)) { goto err_exit; } |