Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 04:11:16 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r251893 - stable/9/sys/dev/amd
Message-ID:  <201306180411.r5I4BGu3080713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: scottl
Date: Tue Jun 18 04:11:16 2013
New Revision: 251893
URL: http://svnweb.freebsd.org/changeset/base/251893

Log:
  Fix typos in the last revision.  Thanks to Andrey Chernov for his kind
  patience.
  
  Obtained from:	Netflix

Modified:
  stable/9/sys/dev/amd/amd.c

Modified: stable/9/sys/dev/amd/amd.c
==============================================================================
--- stable/9/sys/dev/amd/amd.c	Tue Jun 18 04:06:12 2013	(r251892)
+++ stable/9/sys/dev/amd/amd.c	Tue Jun 18 04:11:16 2013	(r251893)
@@ -430,7 +430,7 @@ amd_action(struct cam_sim * psim, union 
 		if ((pccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) {
 			int error;
 
-			error - bus_dmamap_load_ccb(amd->buffer_dmat,
+			error = bus_dmamap_load_ccb(amd->buffer_dmat,
 						    pSRB->dmamap,
 						    pccb,
 						    amdexecutesrb,
@@ -442,7 +442,7 @@ amd_action(struct cam_sim * psim, union 
 				 * until our mapping is
 				 * returned.
 				 */
-				xpt_freeze_simq(sim, 1);
+				xpt_freeze_simq(psim, 1);
 				pccb->ccb_h.status |= CAM_RELEASE_SIMQ;
 			}
 		} else



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