]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: cxlflash: Update debug prints in reset handlers
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Wed, 28 Jun 2017 17:14:37 +0000 (12:14 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 1 Jul 2017 21:01:44 +0000 (17:01 -0400)
commit9c1f1ae13a050667ad1dfdd4092b65853560caea
treeb418c75f8cd43b1c29216ed79ff44e0044614326
parent0e1d3b4945fd7107a12b286a377f31b37afad35b
scsi: cxlflash: Update debug prints in reset handlers

The device and host reset handler contain debug prints to help identify
the entities being reset. Today these reset handlers are based on a SCSI
EH design that uses a SCSI command reference as a means of identifying
the target entity. As such, the debug trace includes the SCSI command
pointer and associated CDB. This is not necessary as the SCSI command is
simply the messenger in these scenarios.

Refactor the debug prints in the host and reset handlers to only present
information that is applicable given the function scope.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/main.c