From 08f3caecaa23bae4ca2231f0c003e8eac7350e73 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 18 Nov 2013 12:40:59 +0000 Subject: [PATCH] ib_srpt: Log an info message instead of an error message if a target is not enabled git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5114 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 911289d20..942d779bd 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2499,8 +2499,8 @@ static int srpt_cm_req_recv(struct ib_cm_id *cm_id, if (!srpt_tgt->enabled) { rej->reason = cpu_to_be32( SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES); - PRINT_ERROR("rejected SRP_LOGIN_REQ because target %s is not" - " enabled", srpt_tgt->scst_tgt->tgt_name); + PRINT_INFO("rejected SRP_LOGIN_REQ because target %s is not" + " enabled", srpt_tgt->scst_tgt->tgt_name); goto reject; }