> > Fix possible indexing array of bound for &aac->hba_map[bus][cid], where bus > and cid boundary check happens later. > > Fixes: 0d643ff3c353 ("scsi: aacraid: use aac_tmf_callback for reset fib") > Signed-off-by: Nikola Pajkovsky <npajkovsky@xxxxxxx> > --- > drivers/scsi/aacraid/linit.c | 20 ++++++++++++-------- > 1 file changed, 12 insertions(+), 8 deletions(-) Reviewed-by: Dave Carroll <david.carroll@xxxxxxxxxxxxx>