diff options
author | 2023-10-13 11:56:26 -0700 | |
---|---|---|
committer | 2023-10-13 11:56:26 -0700 | |
commit | 8cb1f10d8c4b716c88b87ae4402a3305d96e5db2 (patch) | |
tree | facb2685f2de1efcec080efe23101975cbe73da7 | |
parent | Merge tag 'ceph-for-6.6-rc6' of https://github.com/ceph/ceph-client (diff) | |
parent | scsi: ufs: core: Correct clear TM error log (diff) | |
download | linux-rng-8cb1f10d8c4b716c88b87ae4402a3305d96e5db2.tar.xz linux-rng-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
-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; |