]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: mcq: Fix error output and clean up ufshcd_mcq_abort()
authorChanwoo Lee <cw9316.lee@samsung.com>
Fri, 24 May 2024 01:59:04 +0000 (10:59 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 31 May 2024 00:40:48 +0000 (20:40 -0400)
commitd53b681ce9ca7db5ef4ecb8d2cf465ae4a031264
tree9c8543865e8ccee8a6171706638cc3bea118f85a
parent4fedb1f0959973738ef9ac7e52ea0c260f1a3302
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: f1304d442077 ("scsi: ufs: mcq: Added ufshcd_mcq_abort()")
Signed-off-by: Chanwoo Lee <cw9316.lee@samsung.com>
Link: https://lore.kernel.org/r/20240524015904.1116005-1-cw9316.lee@samsung.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufs-mcq.c