PERFORCE change 92801 for review

Scott Long scottl at FreeBSD.org
Sun Mar 5 10:18:37 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=92801

Change 92801 by scottl at scottl-x64 on 2006/03/05 18:17:58

	Fix compile problems.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#7 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#7 (text+ko) ====

@@ -412,7 +412,6 @@
 void
 cam_periph_invalidate(struct cam_periph *periph)
 {
-	int s;
 
 	/*
 	 * We only call this routine the first time a peripheral is
@@ -444,7 +443,7 @@
 {
 	struct periph_driver **p_drv;
 
-	mtx_assert(&cam_topo_lock, MTX_OWNED);
+	mtx_assert(&cam_topo_lock, MA_OWNED);
 
 	for (p_drv = periph_drivers; *p_drv != NULL; p_drv++) {
 		if (strcmp((*p_drv)->driver_name, periph->periph_name) == 0) {


More information about the p4-projects mailing list