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
This commit is contained in:
Dotan Barak
2008-09-24 01:09:27 +00:00
parent 508b07dbb0
commit 7a3b527b88
+1 -1
View File
@@ -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);