From 7a3b527b8834aa5df08772bc4dc62539b0ad091a Mon Sep 17 00:00:00 2001 From: Dotan Barak Date: Wed, 24 Sep 2008 01:09:27 +0000 Subject: [PATCH] Belatedly put in a patch to avoid an OOPS that Stanley had sent me but I hadn't integrated. Bad me. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@496 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla_isp/common/isp_target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qla_isp/common/isp_target.c b/qla_isp/common/isp_target.c index 3582127b9..3ca50f0be 100644 --- a/qla_isp/common/isp_target.c +++ b/qla_isp/common/isp_target.c @@ -1826,7 +1826,7 @@ isp_handle_24xx_inotify(ispsoftc_t *isp, in_fcentry_24xx_t *inot_24xx) lochan = 0; hichan = isp->isp_nchan; } else { - if (chan > isp->isp_nchan) { + if (chan >= isp->isp_nchan) { isp_prt(isp, ISP_LOGINFO, "%s: bad channel %d for status 0x%x", __FUNCTION__, chan, inot_24xx->in_status);