Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2016 21:05:09 +0000 (UTC)
From:      Mark Johnston <markj@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: r299696 - stable/9/sys/dev/sym
Message-ID:  <201605132105.u4DL59Ar001654@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Fri May 13 21:05:09 2016
New Revision: 299696
URL: https://svnweb.freebsd.org/changeset/base/299696

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

Modified:
  stable/9/sys/dev/sym/sym_hipd.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/sym/sym_hipd.c
==============================================================================
--- stable/9/sys/dev/sym/sym_hipd.c	Fri May 13 20:58:25 2016	(r299695)
+++ stable/9/sys/dev/sym/sym_hipd.c	Fri May 13 21:05:09 2016	(r299696)
@@ -8903,7 +8903,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;
 



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