diff options
author | Paolo Bonzini | 2016-06-06 10:42:27 +0200 |
---|---|---|
committer | Paolo Bonzini | 2016-06-07 14:14:39 +0200 |
commit | ed45cae39117d413155417b57286e9d172c4c411 (patch) | |
tree | 9a7ecb296b55f2608e5bcd284387056884b623ad /hw | |
parent | Makefile: Derive "PKGVERSION" from "git describe" by default (diff) | |
download | qemu-ed45cae39117d413155417b57286e9d172c4c411.tar.gz qemu-ed45cae39117d413155417b57286e9d172c4c411.tar.xz qemu-ed45cae39117d413155417b57286e9d172c4c411.zip |
scsi-disk: add missing break
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/scsi/scsi-disk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c index 6724cbf8d8..188196990e 100644 --- a/hw/scsi/scsi-disk.c +++ b/hw/scsi/scsi-disk.c @@ -2740,6 +2740,7 @@ static int32_t scsi_block_dma_command(SCSIRequest *req, uint8_t *buf) /* 10-byte CDB. */ r->cdb1 = req->cmd.buf[1]; r->group_number = req->cmd.buf[6]; + break; case 4: /* 12-byte CDB. */ r->cdb1 = req->cmd.buf[1]; |