ufs: core: correct clear tm error log
Subsystems (3)
PATCH v2 1/1 ufs: core: correct clear tm error log
From: Peter Wang <[email protected]>
The clear tm function error log is inverted.
Fixes 4693fad7d6d4 ("scsi: ufs: core: Log error handler activity")
Signed-off-by Peter Wang <[email protected]>
--- drivers/ufs/core/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ufs/core/ufshcd.c +1 -1
@@ -6895,7 +6895,7 @@ static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag) mask, 0, 1000, 1000);dev_err (hba->dev,"Clearing task management function with tag %d %s\n" , - tag, err ?"succeeded" :"failed" ); + tag, err <0 ?"failed" :"succeeded" ); out:return err;
Signature · 1 line
2.18.0
Quoted 1 line · On 10/2/23 19:20, [email protected] wrote:
The clear tm function error log is inverted.
Reviewed-by Bart Van Assche <[email protected]>
Quoted 7 lines · On Tue, Oct 3, 2023 at 10:20 AM <[email protected]> wrote:
From: Peter Wang <[email protected]>
The clear tm function error log is inverted.
Fixes 4693fad7d6d4 ("scsi: ufs: core: Log error handler activity")Signed-off-by Peter Wang <[email protected]>
Reviewed-by Stanley Chu <[email protected]>
Martin K. Petersen
AppliedQuoted 3 lines · On Tue, 03 Oct 2023 10:20:02 +0800, [email protected] wrote:
The clear tm function error log is inverted.
Applied to 6.6/scsi-fixes, thanks!
[1/1] ufs: core: correct clear tm error log
https://git.kernel.org/mkp/scsi/c/a20c4350c6a1
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering