]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: storvsc: Don't report the host packet status as the hv status
authorRoman Kisel <romank@linux.microsoft.com>
Tue, 4 Mar 2025 00:09:40 +0000 (16:09 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 11 Mar 2025 01:18:56 +0000 (21:18 -0400)
commit7dcbda8a1d9ee54471f61983f23a80c3b10416be
treeef3af3b073c224552a4d5b78ceacfe643acae175
parent11c79df94b9808a735ce13c02b788191b0498330
scsi: storvsc: Don't report the host packet status as the hv status

The log statement reports the packet status code as the hv status code
which causes confusion when debugging as "hv" might refer to a hypervisor,
and sometimes to the host part of the Hyper-V virtualization stack.

Fix the name of the datum being logged to clearly indicate the component
reporting the error. Also log it in hexadecimal everywhere for consistency.

Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250304000940.9557-2-romank@linux.microsoft.com
Reviewed-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/storvsc_drv.c