Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 00:41:46 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268024 - head/sys/dev/isci/scil
Message-ID:  <201406300041.s5U0fkwe038403@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
       }
    }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406300041.s5U0fkwe038403>