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
This commit is contained in:
Scott Long
2014-06-30 00:41:46 +00:00
parent d02efe3ffe
commit 58cf99d20d
+1
View File
@@ -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
}
}