From 58cf99d20d965087d5110b6478f9c9d297db349d Mon Sep 17 00:00:00 2001 From: Scott Long Date: Mon, 30 Jun 2014 00:41:46 +0000 Subject: [PATCH] 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 --- sys/dev/isci/scil/scic_sds_stp_request.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/isci/scil/scic_sds_stp_request.c b/sys/dev/isci/scil/scic_sds_stp_request.c index ed597b1ce8a..f3fe28ddd4c 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 } }