Philippe Mathieu-Daudé 0dc556987d 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>
2020-03-17 15:08:50 +11:00
..
2020-03-10 16:12:49 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-03-06 17:21:27 +01:00
2020-03-09 15:59:31 +01:00
2020-03-09 15:59:31 +01:00
2020-02-21 09:15:04 +11:00
2020-03-12 17:34:34 +00:00
2019-10-28 19:06:47 +01:00
2020-03-17 15:08:47 +11:00
2020-03-05 12:18:08 -05:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00