From 45609e036a2dad54769a53c7f265486c62cb42a0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 5 Oct 2013 18:01:50 +0000 Subject: [PATCH] Wrong task attribute isn't error, so warning message should be issued instead (merge r4753 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@5041 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 2 +- qla2x00t/qla2x00-target/qla2x00t.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 31c64ee82..d2120f772 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -2009,7 +2009,7 @@ static int scsi_cmnd_start(struct iscsi_cmnd *req) scst_cmd_set_queue_type(scst_cmd, SCST_CMD_QUEUE_UNTAGGED); break; default: - PRINT_ERROR("Unknown task code %x, use ORDERED instead", + PRINT_WARNING("Unknown task code %x, use ORDERED instead", req_hdr->flags & ISCSI_CMD_ATTR_MASK); scst_cmd_set_queue_type(scst_cmd, SCST_CMD_QUEUE_ORDERED); break; diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index 7b537b046..ff74be6cd 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -3635,7 +3635,7 @@ static int q2x_do_send_cmd_to_scst(struct q2t_cmd *cmd) scst_cmd_set_queue_type(cmd->scst_cmd, SCST_CMD_QUEUE_UNTAGGED); break; default: - PRINT_ERROR("qla2x00t: unknown task code %x, use " + PRINT_WARNING("qla2x00t: unknown task code %x, use " "ORDERED instead", atio->task_codes); scst_cmd_set_queue_type(cmd->scst_cmd, SCST_CMD_QUEUE_ORDERED); break; @@ -3712,7 +3712,7 @@ static int q24_do_send_cmd_to_scst(struct q2t_cmd *cmd) scst_cmd_set_queue_type(cmd->scst_cmd, SCST_CMD_QUEUE_UNTAGGED); break; default: - PRINT_ERROR("qla2x00t: unknown task code %x, use " + PRINT_WARNING("qla2x00t: unknown task code %x, use " "ORDERED instead", atio->fcp_cmnd.task_attr); scst_cmd_set_queue_type(cmd->scst_cmd, SCST_CMD_QUEUE_ORDERED); break;