From: Konstantin Shelekhin Date: Mon, 18 Apr 2022 21:26:22 +0000 (+0300) Subject: scsi: target: core: Silence the message about unknown VPD pages X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=95af09fabf3782be9728a6af6461f6937cd8e528;p=linux.git 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 Signed-off-by: Martin K. Petersen --- diff --git a/drivers/target/target_core_spc.c b/drivers/target/target_core_spc.c index 4c76498d3fb06..c14441c89bedd 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: