hrev51930 adds 1 changeset to branch 'master'
old head: 645dc27d9d37dca80714e0c47efa579caad8c8b2
new head: edf7f4cd5f1eec616718e7c6b81f372badf70209
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=edf7f4cd5f1e+%5E645dc27d9d37
----------------------------------------------------------------------------
edf7f4cd5f1e: virtio_scsi: actually write the cdb size
instead of the sense size. Should help with #14133.
[ Jérôme Duval <jerome.duval@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev51930
Commit: edf7f4cd5f1eec616718e7c6b81f372badf70209
URL: https://git.haiku-os.org/haiku/commit/?id=edf7f4cd5f1e
Author: Jérôme Duval <jerome.duval@xxxxxxxxx>
Date: Tue May 8 15:33:01 2018 UTC
Ticket: https://dev.haiku-os.org/ticket/14133
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
src/add-ons/kernel/busses/scsi/virtio/VirtioSCSIController.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/src/add-ons/kernel/busses/scsi/virtio/VirtioSCSIController.cpp
b/src/add-ons/kernel/busses/scsi/virtio/VirtioSCSIController.cpp
index 0a73d47c06..8cf4cb3912 100644
--- a/src/add-ons/kernel/busses/scsi/virtio/VirtioSCSIController.cpp
+++ b/src/add-ons/kernel/busses/scsi/virtio/VirtioSCSIController.cpp
@@ -72,7 +72,7 @@ VirtioSCSIController::VirtioSCSIController(device_node *node)
offsetof(struct virtio_scsi_config, sense_size),
&fConfig.sense_size,
sizeof(fConfig.sense_size));
fVirtio->write_device_config(fVirtioDevice,
- offsetof(struct virtio_scsi_config, cdb_size),
&fConfig.sense_size,
+ offsetof(struct virtio_scsi_config, cdb_size),
&fConfig.cdb_size,
sizeof(fConfig.cdb_size));
fRequest = new(std::nothrow) VirtioSCSIRequest(true);