summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2014-06-30 00:41:46 +0000
committerscottl <scottl@FreeBSD.org>2014-06-30 00:41:46 +0000
commit5cd5caa1412d7b30827987d880f0be6f0bdd8ff9 (patch)
tree1ea8d56fa2dd6f7fbd9c54e37485c6caadd1420f /sys/dev
parentb33df0b89c792b064ef6cad53d089dfd0a27dddc (diff)
downloadFreeBSD-src-5cd5caa1412d7b30827987d880f0be6f0bdd8ff9.zip
FreeBSD-src-5cd5caa1412d7b30827987d880f0be6f0bdd8ff9.tar.gz
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
Diffstat (limited to 'sys/dev')
-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 ed597b1..f3fe28d 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
}
}
OpenPOWER on IntegriCloud