Skip to content
Commit 0e39097e authored by Saurav Kashyap's avatar Saurav Kashyap Committed by Greg Kroah-Hartman
Browse files

scsi: qla2xxx: Add qla2x00_async_done() for async routines

commit 49b729f5 upstream.

This done routine will delete the timer and check for its return value and
decrease the reference count accordingly. This prevents boot hangs reported
after commit 31e6cdbe ("scsi: qla2xxx: Implement ref count for SRB")
was merged.

Link: https://lore.kernel.org/r/20220208093946.4471-1-njavali@marvell.com
Fixes: 31e6cdbe

 ("scsi: qla2xxx: Implement ref count for SRB")
Reported-by: default avatarEwan Milne <emilne@redhat.com>
Tested-by: default avatarEwan D. Milne <emilne@redhat.com>
Reviewed-by: default avatarHimanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: default avatarSaurav Kashyap <skashyap@marvell.com>
Signed-off-by: default avatarNilesh Javali <njavali@marvell.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9cf1208
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment