From a4cf36ba4ea6a763079247e5df8536ea4fd5f843 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 24 Mar 2014 11:57:39 +0000 Subject: [PATCH] ib_srpt: Change the severity level of a log message Make sure that target port state changes get logged even with debugging disabled. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5365 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 a9d627651..65cb5b938 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2348,8 +2348,8 @@ static int srpt_enable_target(struct scst_tgt *scst_tgt, bool enable) if (!srpt_tgt) goto out; - TRACE_DBG("%s target %s", enable ? "Enabling" : "Disabling", - scst_tgt->tgt_name); + PRINT_INFO("%s target %s", enable ? "Enabling" : "Disabling", + scst_tgt->tgt_name); spin_lock_irq(&srpt_tgt->spinlock); srpt_tgt->enabled = enable;