svn commit: r299694 - head/sys/dev/sym

Mark Johnston markj at FreeBSD.org
Fri May 13 20:54:56 UTC 2016


Author: markj
Date: Fri May 13 20:54:54 2016
New Revision: 299694
URL: https://svnweb.freebsd.org/changeset/base/299694

Log:
  Fix a bug in r298340: "sim" was referenced after being unset.

Modified:
  head/sys/dev/sym/sym_hipd.c

Modified: head/sys/dev/sym/sym_hipd.c
==============================================================================
--- head/sys/dev/sym/sym_hipd.c	Fri May 13 20:14:41 2016	(r299693)
+++ head/sys/dev/sym/sym_hipd.c	Fri May 13 20:54:54 2016	(r299694)
@@ -8902,7 +8902,7 @@ static int sym_cam_attach(hcb_p np)
 	/*
 	 *  Establish our async notification handler.
 	 */
-	if (xpt_register_async(AC_LOST_DEVICE, sym_async, sim, path) !=
+	if (xpt_register_async(AC_LOST_DEVICE, sym_async, np->sim, path) !=
 	    CAM_REQ_CMP)
 		goto fail;
 


More information about the svn-src-head mailing list