summaryrefslogtreecommitdiffstats
path: root/include/hw/core/cpu.h
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2020-03-17 13:57:41 +0100
committerMarkus Armbruster2020-03-17 17:30:03 +0100
commit709dfb64925ed2b2978bf4c17ab98b2c7a9a05c1 (patch)
tree0398a1f3045122c77dd5c79d56e9453d7c98f900 /include/hw/core/cpu.h
parentxen-block: Use one Error * variable instead of two (diff)
downloadqemu-709dfb64925ed2b2978bf4c17ab98b2c7a9a05c1.tar.gz
qemu-709dfb64925ed2b2978bf4c17ab98b2c7a9a05c1.tar.xz
qemu-709dfb64925ed2b2978bf4c17ab98b2c7a9a05c1.zip
hw/sd/ssi-sd: fix error handling in ssi_sd_realize
It's wrong to use same err object as errp parameter for several function calls without intermediate checking for error: we'll crash if try to set err object twice. Fix that. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200317125741.15301-1-vsementsov@virtuozzo.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/hw/core/cpu.h')
0 files changed, 0 insertions, 0 deletions