svn commit: r268024 - head/sys/dev/isci/scil
Scott Long
scottl at FreeBSD.org
Mon Jun 30 00:41:46 UTC 2014
Author: scottl
Date: Mon Jun 30 00:41:46 2014
New Revision: 268024
URL: http://svnweb.freebsd.org/changeset/base/268024
Log:
Fix a case in ndling ATA_PASSTHROUGH commands that have an unaligned buffer.
This impacts some home-rolled SMART tools.
Reviewed by: jimharris
Obtained from: Netflix
MFC after: 2 days
Modified:
head/sys/dev/isci/scil/scic_sds_stp_request.c
Modified: head/sys/dev/isci/scil/scic_sds_stp_request.c
==============================================================================
--- head/sys/dev/isci/scil/scic_sds_stp_request.c Mon Jun 30 00:22:41 2014 (r268023)
+++ head/sys/dev/isci/scil/scic_sds_stp_request.c Mon Jun 30 00:41:46 2014 (r268024)
@@ -1222,6 +1222,7 @@ SCI_STATUS scic_sds_stp_request_pio_data
length -= copy_length;
sgl_offset += copy_length;
data_offset += copy_length;
+ source_address += copy_length;
#endif
}
}
More information about the svn-src-head
mailing list