mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user