ib_srpt: Source code cleanup (merge r7279 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7534 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-01 03:55:36 +00:00
parent bcc0beb4a6
commit 215501d180
+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;
}