]> git.proxmox.com Git - qemu.git/commit
smbios: Normalize smbios_entry_add()'s error handling to exit(1)
authorMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2013 13:18:28 +0000 (15:18 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 28 Sep 2013 19:40:58 +0000 (22:40 +0300)
commit351a6a73ca7a9123f0dfd6c6f85fd01e82fe3741
tree842a686eecfd3dfb9c88c9880541460cc7b5aba1
parent702d66a813dd84afd7c3d1ad8cbdcc8e3449bcd9
smbios: Normalize smbios_entry_add()'s error handling to exit(1)

It exits on all error conditions but one, where it returns -1.
Normalize, and return void.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
arch_init.c
hw/i386/smbios.c
include/hw/i386/smbios.h