]> Git Repo - qemu.git/commit - hw/scsi/scsi-bus.c
scsi: Fix data length == SCSI_SENSE_BUF_SIZE
authorChristian Hoff <[email protected]>
Thu, 14 Jun 2012 13:55:25 +0000 (15:55 +0200)
committerPaolo Bonzini <[email protected]>
Mon, 2 Jul 2012 09:27:00 +0000 (11:27 +0200)
commit335f560f9c7b63ede973d7b9712438f39ee2df61
tree26c1159ffcd8079e3ede753b6b0e5802eea258f5
parent619d7ae952bb61ec27ec21fe4a383a8d4dd4cd70
scsi: Fix data length == SCSI_SENSE_BUF_SIZE

Fix the edge case where the sense data length is exactly the same
as SCSI_SENSE_BUF_SIZE.
This makes SCSI requests work that use all of the available 95 byte
sense data.

Signed-off-by: Christian Hoff <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/scsi-bus.c
This page took 0.025856 seconds and 4 git commands to generate.