linux-stable/drivers/scsi/mpi3mr
Shin'ichiro Kawasaki 7d21fcfb40 scsi: mpi3mr: Suppress command reply debug prints
After it receives command reply, mpi3mr driver checks command result. If
the result is not zero, it prints out command information. This debug
information is confusing since they are printed even when the non-zero
result is expected. "Power-on or device reset occurred" is printed for Test
Unit Ready command at drive detection. Inquiry failure for unsupported VPD
page header is also printed. They are harmless but look like failures.

To avoid the confusion, print the command reply debug information only when
the module parameter logging_level has value MPI3_DEBUG_SCSI_ERROR= 64, in
same manner as mpt3sas driver.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Link: https://lore.kernel.org/r/20221111014449.1649968-1-shinichiro.kawasaki@wdc.com
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-11-17 17:42:38 +00:00
..
mpi scsi: mpi3mr: Update mpi3 header files 2022-09-25 13:49:51 -04:00
Kconfig scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS 2022-10-22 03:14:51 +00:00
Makefile scsi: mpi3mr: Add framework to add phys to STL 2022-08-22 23:34:05 -04:00
mpi3mr.h scsi: mpi3mr: Update driver version to 8.2.0.3.0 2022-09-25 13:49:52 -04:00
mpi3mr_app.c scsi: mpi3mr: Fix kernel-doc 2022-06-01 22:43:26 -04:00
mpi3mr_debug.h scsi: mpi3mr: Add config and transport related debug flags 2022-08-22 23:34:04 -04:00
mpi3mr_fw.c scsi: mpi3mr: Remove unnecessary cast 2022-09-25 14:22:56 -04:00
mpi3mr_os.c scsi: mpi3mr: Suppress command reply debug prints 2022-11-17 17:42:38 +00:00
mpi3mr_transport.c scsi: mpi3mr: Fix error code in mpi3mr_transport_smp_handler() 2022-09-15 22:04:02 -04:00