public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH hyperv-next] scsi: storvsc: Don't call the packet status the hypercall status
@ 2025-02-27 23:31 Roman Kisel
  2025-02-28 20:21 ` Easwar Hariharan
  2025-02-28 20:55 ` Michael Kelley
  0 siblings, 2 replies; 6+ messages in thread
From: Roman Kisel @ 2025-02-27 23:31 UTC (permalink / raw)
  To: kys, haiyangz, wei.liu, decui, James.Bottomley, martin.petersen,
	linux-hyperv, linux-scsi, linux-kernel
  Cc: apais, benhill, sunilmut

The log statement reports the packet status code as the hypercall
status code which causes confusion when debugging.

Fix the name of the datum being logged.

Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
---
 drivers/scsi/storvsc_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index a8614e54544e..d7ec79536d9a 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1183,7 +1183,7 @@ static void storvsc_on_io_completion(struct storvsc_device *stor_device,
 			STORVSC_LOGGING_WARN : STORVSC_LOGGING_ERROR;
 
 		storvsc_log_ratelimited(device, loglevel,
-			"tag#%d cmd 0x%x status: scsi 0x%x srb 0x%x hv 0x%x\n",
+			"tag#%d cmd 0x%x status: scsi 0x%x srb 0x%x sts 0x%x\n",
 			scsi_cmd_to_rq(request->cmd)->tag,
 			stor_pkt->vm_srb.cdb[0],
 			vstor_packet->vm_srb.scsi_status,
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-02-28 23:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 23:31 [PATCH hyperv-next] scsi: storvsc: Don't call the packet status the hypercall status Roman Kisel
2025-02-28 20:21 ` Easwar Hariharan
2025-02-28 22:02   ` Roman Kisel
2025-02-28 20:55 ` Michael Kelley
2025-02-28 22:54   ` Roman Kisel
2025-02-28 23:53     ` Michael Kelley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox