aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isci/scil/scic_sds_stp_request.c
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2014-06-30 00:41:46 +0000
committerScott Long <scottl@FreeBSD.org>2014-06-30 00:41:46 +0000
commit58cf99d20d965087d5110b6478f9c9d297db349d (patch)
tree1ea8d56fa2dd6f7fbd9c54e37485c6caadd1420f /sys/dev/isci/scil/scic_sds_stp_request.c
parentd02efe3ffe4f5df15c7d81d0e956a51e14859560 (diff)
downloadsrc-58cf99d20d965087d5110b6478f9c9d297db349d.tar.gz
src-58cf99d20d965087d5110b6478f9c9d297db349d.zip
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
Notes
Notes: svn path=/head/; revision=268024
Diffstat (limited to 'sys/dev/isci/scil/scic_sds_stp_request.c')
-rw-r--r--sys/dev/isci/scil/scic_sds_stp_request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/isci/scil/scic_sds_stp_request.c b/sys/dev/isci/scil/scic_sds_stp_request.c
index ed597b1ce8ac..f3fe28ddd4c9 100644
--- a/sys/dev/isci/scil/scic_sds_stp_request.c
+++ b/sys/dev/isci/scil/scic_sds_stp_request.c
@@ -1222,6 +1222,7 @@ SCI_STATUS scic_sds_stp_request_pio_data_in_copy_data_buffer(
length -= copy_length;
sgl_offset += copy_length;
data_offset += copy_length;
+ source_address += copy_length;
#endif
}
}