From 934818459ae3a6fdf6e3194f264d35d5d288227f Mon Sep 17 00:00:00 2001 From: Yan Burman Date: Thu, 20 Feb 2014 07:20:32 +0000 Subject: [PATCH] isert: Add warning print when new connection handling fails Signed-off-by: Yan Burman git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5298 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/isert-scst/isert_login.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iscsi-scst/kernel/isert-scst/isert_login.c b/iscsi-scst/kernel/isert-scst/isert_login.c index ea2c92ab0..9a96ade4f 100644 --- a/iscsi-scst/kernel/isert-scst/isert_login.c +++ b/iscsi-scst/kernel/isert-scst/isert_login.c @@ -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; }