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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to