From owner-svn-src-head@FreeBSD.ORG Mon Jun 30 00:41:46 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D98BC86; Mon, 30 Jun 2014 00:41:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B2EF28CB; Mon, 30 Jun 2014 00:41:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5U0fkxV038404; Mon, 30 Jun 2014 00:41:46 GMT (envelope-from scottl@svn.freebsd.org) Received: (from scottl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5U0fkwe038403; Mon, 30 Jun 2014 00:41:46 GMT (envelope-from scottl@svn.freebsd.org) Message-Id: <201406300041.s5U0fkwe038403@svn.freebsd.org> From: Scott Long Date: Mon, 30 Jun 2014 00:41:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268024 - head/sys/dev/isci/scil X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 00:41:46 -0000 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 } }