Prasad J Pandit cf2bce203a scsi: mptconfig: fix an assert expression
When LSI SAS1068 Host Bus emulator builds configuration page
headers, mptsas_config_pack() should assert that the size
fits in a byte.  However, the size is expressed in 32-bit
units, so up to 1020 bytes fit.  The assertion was only
allowing replies up to 252 bytes, so fix it.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <1472645167-30765-2-git-send-email-ppandit@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-09-13 19:08:46 +02:00
..
2016-09-08 18:05:21 +04:00
2016-09-08 18:05:21 +04:00
2016-09-08 18:05:21 +04:00
2016-09-08 18:05:22 +04:00
2016-09-08 18:05:21 +04:00
2016-09-09 20:58:34 +03:00
2016-09-08 18:05:21 +04:00
2016-09-08 18:05:21 +04:00
2016-09-08 18:05:22 +04:00
2016-09-08 18:05:21 +04:00
2016-09-08 11:28:12 +01:00
2016-07-29 00:07:09 +03:00
2016-09-08 18:05:22 +04:00