diff mbox series

[GIT,PULL] SCSI fixes for 6.13-rc2

Message ID 395d805645f141b15ef818dadf39c8689986e8b4.camel@HansenPartnership.com
State New
Headers show
Series [GIT,PULL] SCSI fixes for 6.13-rc2 | expand

Commit Message

James Bottomley Dec. 14, 2024, 11:08 p.m. UTC
Simple one-line fix in the ufs driver.

The patch is available here:

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

The short changelog is:

liuderong (1):
      scsi: ufs: core: Update compl_time_stamp_local_clock after completing a cqe

And the diffstat:

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

With full diff below.

Regards,

James

---
diff mbox series

Patch

diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index b7ec5797d5ba..8a01e4393159 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -5556,6 +5556,7 @@  void ufshcd_compl_one_cqe(struct ufs_hba *hba, int task_tag,
 
 	lrbp = &hba->lrb[task_tag];
 	lrbp->compl_time_stamp = ktime_get();
+	lrbp->compl_time_stamp_local_clock = local_clock();
 	cmd = lrbp->cmd;
 	if (cmd) {
 		if (unlikely(ufshcd_should_inform_monitor(hba, lrbp)))