commit | fb2028a0b24e0823bbc0a28e6f0f1bd9fbbf733c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jul 10 11:47:40 2017 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jul 12 17:20:21 2017 -0400 |
tree | 441f6981cf912f301c5695dad39623b85949efe1 | |
parent | 68c59fcea1f2c6a54c62aa896cc623c1b5bc9b47 [diff] |
scsi: qla2xxx: Off by one in qlt_ctio_to_cmd() There are "req->num_outstanding_cmds" elements in the req->outstanding_cmds[] array so the > here should be >=. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>