Re: [Qemu-devel] [PATCH v2] scsi-disk: handle invalid cdb length

2019-05-01 Thread Bruce Rogers
>>> On 4/30/2019 at 2:40 PM, John Snow wrote: > > On 4/30/19 9:19 AM, Bruce Rogers wrote: >> While investigating link-time-optimization, the compiler flagged this >> case of not handling the error return from scsi_cdb_length(). Handle >> this error case with a trace report. >> >> Signed-off-by:

Re: [Qemu-devel] [PATCH v2] scsi-disk: handle invalid cdb length

2019-04-30 Thread John Snow
On 4/30/19 9:19 AM, Bruce Rogers wrote: > While investigating link-time-optimization, the compiler flagged this > case of not handling the error return from scsi_cdb_length(). Handle > this error case with a trace report. > > Signed-off-by: Bruce Rogers > --- > hw/scsi/scsi-disk.c | 4 >

[Qemu-devel] [PATCH v2] scsi-disk: handle invalid cdb length

2019-04-30 Thread Bruce Rogers
While investigating link-time-optimization, the compiler flagged this case of not handling the error return from scsi_cdb_length(). Handle this error case with a trace report. Signed-off-by: Bruce Rogers --- hw/scsi/scsi-disk.c | 4 1 file changed, 4 insertions(+) diff --git a/hw/scsi/scsi