ib_srpt: Refine a log message

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2017-12-22 23:11:30 +00:00
parent 323b6f36ad
commit ab6e0cd782
+2 -1
View File
@@ -2574,7 +2574,8 @@ static int srpt_cm_req_recv(struct srpt_device *const sdev,
if (!sport->enabled) {
rej->reason = cpu_to_be32(
SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES);
pr_info("rejected SRP_LOGIN_REQ because target %s is not enabled\n", sport->scst_tgt->tgt_name);
pr_info("rejected SRP_LOGIN_REQ because target port %s has not yet been enabled\n",
sport->scst_tgt->tgt_name);
goto reject;
}