diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-05-22 14:09:17 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-05-31 11:19:20 -0400 |
commit | 339020091e246e708c1381acf74c5f8e3fe4d2b5 (patch) | |
tree | 24ff95b2da1f5ca786361cc72ab65ed5502ae5d4 /mm | |
parent | 8b566edbdbfb5cde31a322c57932694ff48125ed (diff) |
scsi: qla2xxx: Fix end of loop test
This loop will exit successfully when "found" is false or in the failure
case it times out with "wait_iter" set to -1. The test for timeouts is
impossible as is.
Fixes: b843adde8d49 ("scsi: qla2xxx: Fix mem access after free")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/cea5a62f-b873-4347-8f8e-c67527ced8d2@kili.mountain
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions