aboutsummaryrefslogtreecommitdiff
path: root/hw/input/vmmouse.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-10-10 00:55:56 +0200
committerStefan Berger <stefanb@linux.vnet.ibm.com>2017-10-19 11:42:28 -0400
commitc106ede9c85bf4b38c52dbee96b00c2aa0a97dee (patch)
tree0659466edcc05950d5b4e8628cecc1184e82b68e /hw/input/vmmouse.c
parent0e43b7e61ce677e154584523943c1651779baccf (diff)
downloadqemu-c106ede9c85bf4b38c52dbee96b00c2aa0a97dee.zip
qemu-c106ede9c85bf4b38c52dbee96b00c2aa0a97dee.tar.gz
qemu-c106ede9c85bf4b38c52dbee96b00c2aa0a97dee.tar.bz2
tpm-emulator: fix error handling
The previous patch cleaned up a bit error handling, and exposed an existing bug: error_report_err() could be called with a NULL error. Instead, make tpm_emulator_set_locality() set the error. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'hw/input/vmmouse.c')
0 files changed, 0 insertions, 0 deletions