diff mbox series

[GIT,PULL] SCSI fixes for 6.6-rc5

Message ID 81d665ccd17999d96d698c0d897e11c992a4de21.camel@HansenPartnership.com (mailing list archive)
State Not Applicable
Headers show
Series [GIT,PULL] SCSI fixes for 6.6-rc5 | expand

Commit Message

James Bottomley Oct. 13, 2023, 6:46 p.m. UTC
A single tiny fix in the ufs driver core correcting the reversed logic
in an error message.

The patch is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

The short changelog is:

Peter Wang (1):
      scsi: ufs: core: Correct clear TM error log

And the diffstat:

 drivers/ufs/core/ufshcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

With full diff below.

James

---

Comments

pr-tracker-bot@kernel.org Oct. 13, 2023, 7:06 p.m. UTC | #1
The pull request you sent on Fri, 13 Oct 2023 14:46:58 -0400:

> git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8cb1f10d8c4b716c88b87ae4402a3305d96e5db2

Thank you!
diff mbox series

Patch

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;