mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-24 06:01:28 +00:00
ib_srpt: Make the error message about rejected login more clear
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3897 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2388,8 +2388,9 @@ static int srpt_cm_req_recv(struct ib_cm_id *cm_id,
|
||||
rej->reason = cpu_to_be32(
|
||||
SRP_LOGIN_REJ_INSUFFICIENT_RESOURCES);
|
||||
ret = -EINVAL;
|
||||
PRINT_ERROR("rejected SRP_LOGIN_REQ because the target %s"
|
||||
" has not yet been enabled", sdev->device->name);
|
||||
PRINT_ERROR("rejected SRP_LOGIN_REQ because the target %s (%s)"
|
||||
" has not yet been enabled",
|
||||
sdev->scst_tgt->tgt_name, sdev->device->name);
|
||||
goto reject;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user