diff options
Diffstat (limited to 'drivers/scsi/bfa')
-rw-r--r-- | drivers/scsi/bfa/bfa_ioc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfa_ioc.c b/drivers/scsi/bfa/bfa_ioc.c index 14e6284e48e4..8cdb79c2fcdf 100644 --- a/drivers/scsi/bfa/bfa_ioc.c +++ b/drivers/scsi/bfa/bfa_ioc.c | |||
@@ -2357,7 +2357,7 @@ bfa_ioc_mbox_isr(struct bfa_ioc_s *ioc) | |||
2357 | return; | 2357 | return; |
2358 | } | 2358 | } |
2359 | 2359 | ||
2360 | if ((mc > BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn == NULL)) | 2360 | if ((mc >= BFI_MC_MAX) || (mod->mbhdlr[mc].cbfn == NULL)) |
2361 | return; | 2361 | return; |
2362 | 2362 | ||
2363 | mod->mbhdlr[mc].cbfn(mod->mbhdlr[mc].cbarg, &m); | 2363 | mod->mbhdlr[mc].cbfn(mod->mbhdlr[mc].cbarg, &m); |