Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2015 14:22:56 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290981 - head/sys/dev/isp
Message-ID:  <201511171422.tAHEMuVH036952@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Tue Nov 17 14:22:56 2015
New Revision: 290981
URL: https://svnweb.freebsd.org/changeset/base/290981

Log:
  Off-by-one correctiont to r290980.

Modified:
  head/sys/dev/isp/isp.c

Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c	Tue Nov 17 14:13:55 2015	(r290980)
+++ head/sys/dev/isp/isp.c	Tue Nov 17 14:22:56 2015	(r290981)
@@ -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?201511171422.tAHEMuVH036952>