mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 20:21:30 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user