[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220407044034.379971-2-parri.andrea@gmail.com>
Date: Thu, 7 Apr 2022 06:40:33 +0200
From: "Andrea Parri (Microsoft)" <parri.andrea@...il.com>
To: KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>, Dexuan Cui <decui@...rosoft.com>,
Michael Kelley <mikelley@...rosoft.com>,
James Bottomley <jejb@...ux.ibm.com>,
Martin Petersen <martin.petersen@...cle.com>,
David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: linux-hyperv@...r.kernel.org, linux-scsi@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
"Andrea Parri (Microsoft)" <parri.andrea@...il.com>
Subject: [PATCH 1/2] scsi: storvsc: Print value of invalid ID in storvsc_on_channel_callback()
That being useful for debugging purposes.
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@...il.com>
---
drivers/scsi/storvsc_drv.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 9a0bba5a51a71..67ae2b5b1d5bb 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1334,7 +1334,8 @@ static void storvsc_on_channel_callback(void *context)
/* Transaction 'rqst_id' corresponds to tag 'rqst_id - 1' */
scmnd = scsi_host_find_tag(shost, rqst_id - 1);
if (scmnd == NULL) {
- dev_err(&device->device, "Incorrect transaction ID\n");
+ dev_err(&device->device, "Invalid transaction ID %llx\n",
+ rqst_id);
continue;
}
request = (struct storvsc_cmd_request *)scsi_cmd_priv(scmnd);
--
2.25.1
Powered by blists - more mailing lists