Date: Mon, 30 Nov 2015 21:36:23 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r291509 - stable/10/sys/dev/isp Message-ID: <201511302136.tAULaNJ2070052@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Mon Nov 30 21:36:23 2015 New Revision: 291509 URL: https://svnweb.freebsd.org/changeset/base/291509 Log: MFC r290981: Off-by-one correctiont to r290980. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/isp/isp.c ============================================================================== --- stable/10/sys/dev/isp/isp.c Mon Nov 30 21:35:43 2015 (r291508) +++ stable/10/sys/dev/isp/isp.c Mon Nov 30 21:36:23 2015 (r291509) @@ -4268,7 +4268,7 @@ isp_next_handle(ispsoftc_t *isp, uint16_ handle = *ohp; if (ISP_CAP_2KLOGIN(isp)) { minh = 0; - maxh = NPH_RESERVED; + maxh = NPH_RESERVED - 1; } else { minh = SNS_ID + 1; maxh = NPH_MAX - 1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511302136.tAULaNJ2070052>