Author: markj Date: Fri May 13 20:58:25 2016 New Revision: 299695 URL: https://svnweb.freebsd.org/changeset/base/299695
Log: MFC r299694: Fix a bug in r298340: "sim" was referenced after being unset. Modified: stable/10/sys/dev/sym/sym_hipd.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/sym/sym_hipd.c ============================================================================== --- stable/10/sys/dev/sym/sym_hipd.c Fri May 13 20:54:54 2016 (r299694) +++ stable/10/sys/dev/sym/sym_hipd.c Fri May 13 20:58:25 2016 (r299695) @@ -8906,7 +8906,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; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"