isert: Add warning print when new connection handling fails

Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5298 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Yan Burman
2014-02-20 07:20:32 +00:00
parent 1a2b839ea6
commit 934818459a

View File

@@ -162,6 +162,7 @@ static int add_new_connection(struct isert_listener_dev *dev,
TRACE_ENTRY();
if (!conn_dev) {
PRINT_WARNING("%s", "Unable to allocate new connection");
res = -ENOSPC;
goto out;
}