svn commit: r251893 - stable/9/sys/dev/amd

Scott Long scottl at FreeBSD.org
Tue Jun 18 04:11:17 UTC 2013


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


More information about the svn-src-stable-9 mailing list