aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorShin'ichiro Kawasaki <[email protected]>2022-11-11 10:44:49 +0900
committerMartin K. Petersen <[email protected]>2022-11-17 17:42:38 +0000
commit7d21fcfb409500dc9b114567f0ef8d30b3190dee (patch)
treed7e68c5146ce3185a55c06e2b24f1be9d22c1098 /lib/mpi/mpi-mod.c
parentecb8c2580d37dbb641451049376d80c8afaa387f (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Damien Le Moal <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions