Skip to content

Commit 8cb1f10

Browse files
committed
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fix from James Bottomley: "A single tiny fix in the ufs driver core correcting the reversed logic in an error message" * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: scsi: ufs: core: Correct clear TM error log
2 parents a1ef447 + a20c435 commit 8cb1f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ufs/core/ufshcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6895,7 +6895,7 @@ static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag)
68956895
mask, 0, 1000, 1000);
68966896

68976897
dev_err(hba->dev, "Clearing task management function with tag %d %s\n",
6898-
tag, err ? "succeeded" : "failed");
6898+
tag, err < 0 ? "failed" : "succeeded");
68996899

69006900
out:
69016901
return err;

0 commit comments

Comments
 (0)