linux-stable/drivers/scsi/mpi3mr
Shin'ichiro Kawasaki f51c3741c8 scsi: mpi3mr: Suppress command reply debug prints
[ Upstream commit 7d21fcfb40 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-02 17:43:16 +01:00
..
mpi scsi: mpi3mr: Move data structures/definitions from MPI headers to uapi header 2022-05-02 17:02:41 -04:00
Kconfig scsi: mpi3mr: Add bsg device support 2022-05-02 17:02:41 -04:00
Makefile scsi: mpi3mr: Add bsg device support 2022-05-02 17:02:41 -04:00
mpi3mr.h scsi: mpi3mr: Reduce VD queue depth on detecting throttling 2022-07-18 23:03:28 -04:00
mpi3mr_app.c scsi: mpi3mr: Fix kernel-doc 2022-06-01 22:43:26 -04:00
mpi3mr_debug.h scsi: mpi3mr: Add support for MPT commands 2022-05-02 17:02:42 -04:00
mpi3mr_fw.c scsi: mpi3mr: Unlock on error path 2022-07-18 23:03:56 -04:00
mpi3mr_os.c scsi: mpi3mr: Suppress command reply debug prints 2022-12-02 17:43:16 +01:00