commit | 4cb433e856bce5974ea035181cc8eb406496dccc | [log] [tgz] |
---|---|---|
author | Nikola Pajkovsky <npajkovsky@suse.cz> | Wed Sep 13 10:46:17 2017 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Fri Sep 15 21:46:07 2017 -0400 |
tree | 8819884b3454c09cea86c46a3097ddd66b781bfb | |
parent | 5c756065e47dc3e84b00577bd109f0a8e69903d7 [diff] |
scsi: aacraid: error: testing array offset 'bus' after use 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@suse.cz> Reviewed-by: Dave Carroll <david.carroll@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>