diff options
author | Aaron Lewis <aaronlewis@google.com> | 2020-10-12 12:47:14 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-08 06:02:14 -0500 |
commit | 85f2a4320ef27ce74b9da0631460561028c48756 (patch) | |
tree | e0d4b78513754bbc44398e409e3c3f3eae9452e5 /tools/iio | |
parent | df11f7dd5834146defa448acba097e8d7703cc42 (diff) |
selftests: kvm: Clear uc so UCALL_NONE is being properly reported
Ensure the out value 'uc' in get_ucall() is properly reporting
UCALL_NONE if the call fails. The return value will be correctly
reported, however, the out parameter 'uc' will not be. Clear the struct
to ensure the correct value is being reported in the out parameter.
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
Message-Id: <20201012194716.3950330-3-aaronlewis@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions