diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-10-13 11:56:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-10-13 11:56:26 -0700 |
commit | 8cb1f10d8c4b716c88b87ae4402a3305d96e5db2 (patch) | |
tree | facb2685f2de1efcec080efe23101975cbe73da7 /drivers | |
parent | a1ef447deed5f5add172cd83efa48c46cb2b1a0d (diff) | |
parent | a20c4350c6a12405b7f732b3ee6801ffe2cc45ce (diff) | |
download | lwn-8cb1f10d8c4b716c88b87ae4402a3305d96e5db2.tar.gz lwn-8cb1f10d8c4b716c88b87ae4402a3305d96e5db2.zip |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ufs/core/ufshcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c index c2df07545f96..8382e8cfa414 100644 --- a/drivers/ufs/core/ufshcd.c +++ b/drivers/ufs/core/ufshcd.c @@ -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; |