aboutsummaryrefslogtreecommitdiff
path: root/configs/devices
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-03-30 15:07:27 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-04-20 11:17:35 +0200
commita74b0d0a6dcca4e7d7561655256a8cf671d80ac1 (patch)
treee7265e9e66c7e21bb7e200b6dec7fd5ae6fb3b29 /configs/devices
parent3f9c41c5df9617510d8533cf6588172efb3df34b (diff)
downloadqemu-a74b0d0a6dcca4e7d7561655256a8cf671d80ac1.zip
qemu-a74b0d0a6dcca4e7d7561655256a8cf671d80ac1.tar.gz
qemu-a74b0d0a6dcca4e7d7561655256a8cf671d80ac1.tar.bz2
tests: bios-tables-test: replace memset with initializer
Coverity complains that memset() writes over a const field. Use an initializer instead, so that the const field is left to zero. Tests that have to write the const field already use an initializer for the whole struct, here I am choosing the smallest possible patch (which is not that small already). Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configs/devices')
0 files changed, 0 insertions, 0 deletions