Skip to content
Commit d53b681c authored by Chanwoo Lee's avatar Chanwoo Lee Committed by Martin K. Petersen
Browse files

scsi: ufs: mcq: Fix error output and clean up ufshcd_mcq_abort()

An error unrelated to ufshcd_try_to_abort_task is being logged and can
cause confusion. Modify ufshcd_mcq_abort() to print the result of the abort
failure. For readability, return immediately instead of 'goto'.

Fixes: f1304d44

 ("scsi: ufs: mcq: Added ufshcd_mcq_abort()")
Signed-off-by: default avatarChanwoo Lee <cw9316.lee@samsung.com>
Link: https://lore.kernel.org/r/20240524015904.1116005-1-cw9316.lee@samsung.com
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 4fedb1f0
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