]> git.proxmox.com Git - qemu.git/commit
loader: drop return value for rom_add_blob_fixed
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 10 Nov 2013 09:53:30 +0000 (11:53 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 10 Nov 2013 10:08:38 +0000 (12:08 +0200)
commitfe1479aa251971abd3842dee4a783d4ebace8fb8
tree686a35a74678d538d40b35b4de739d883c82f821
parent81adc5131534ca7554cebe64cd8f86bac28dbd1b
loader: drop return value for rom_add_blob_fixed

rom_add_blob never fails, and neither does rom_add_blob_fixed,
so there's no need to return value from it.

In fact, rom_add_blob_fixed was erroneously returning -1 unconditionally
which made the only system that checked the return value -M bamboo fail
to start.

Drop the return value and drop checks from ppc440_bamboo to
fix this failure.

Reported-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/ppc/ppc440_bamboo.c
include/hw/loader.h