summary refs log tree commit diff stats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-03-05 13:12:48 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2020-03-17 15:08:50 +1100
commit0dc556987dc01e06b6ff543a6752dbdc4c88f2fb (patch)
tree6734e57c3f38dab21f6720ce339073dd6135f8fd /scripts/qapi
parent560f421ae9ed0d7f5acf29b1f06bed8adb3a5b51 (diff)
downloadfocaccia-qemu-0dc556987dc01e06b6ff543a6752dbdc4c88f2fb.tar.gz
focaccia-qemu-0dc556987dc01e06b6ff543a6752dbdc4c88f2fb.zip
hw/scsi/spapr_vscsi: Use SRP_MAX_IU_LEN instead of sizeof flexible array
Replace sizeof() flexible arrays union srp_iu/viosrp_iu by the
SRP_MAX_IU_LEN definition, which is what this code actually meant
to use.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200305121253.19078-3-philmd@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions