diff options
| author | Tony Battersby <tonyb@cybernetics.com> | 2025-11-10 10:51:28 -0500 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-11-12 18:07:50 -0500 |
| commit | 957aa5974989fba4ae4f807ebcb27f12796edd4d (patch) | |
| tree | ad35c3f1550d3c82d692ca25ddf06544c33eb0cf /rust/helpers | |
| parent | 4f6aaade2a22ac428fa99ed716cf2b87e79c9837 (diff) | |
scsi: qla2xxx: Use reinit_completion on mbx_intr_comp
If a mailbox command completes immediately after
wait_for_completion_timeout() times out, ha->mbx_intr_comp could be left
in an inconsistent state, causing the next mailbox command not to wait
for the hardware. Fix by reinitializing the completion before use.
Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Link: https://patch.msgid.link/11b6485e-0bfd-4784-8f99-c06a196dad94@cybernetics.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
