summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Shelekhin <k.shelekhin@yadro.com>2022-04-19 00:26:22 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-04-26 05:33:36 +0300
commit95af09fabf3782be9728a6af6461f6937cd8e528 (patch)
treec04b7ab42dce858b2c3b91f83d30a4166a2b6850
parentfe413ab32b240d30c2500c3ba8f3f0ccbcf59fe4 (diff)
downloadlinux-95af09fabf3782be9728a6af6461f6937cd8e528.tar.xz
scsi: target: core: Silence the message about unknown VPD pages
Target does not support some VPD pages and is very verbose about it. Sometimes initiators don't bother and just keep sending the same request from time to time, filling up the logs. This patch lowers the message priority to debug. Link: https://lore.kernel.org/r/20220418212622.275516-1-k.shelekhin@yadro.com Signed-off-by: Konstantin Shelekhin <k.shelekhin@yadro.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/target/target_core_spc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_spc.c b/drivers/target/target_core_spc.c
index 4c76498d3fb0..c14441c89bed 100644
--- a/drivers/target/target_core_spc.c
+++ b/drivers/target/target_core_spc.c
@@ -769,7 +769,7 @@ spc_emulate_inquiry(struct se_cmd *cmd)
}
}
- pr_err("Unknown VPD Code: 0x%02x\n", cdb[2]);
+ pr_debug("Unknown VPD Code: 0x%02x\n", cdb[2]);
ret = TCM_INVALID_CDB_FIELD;
out: