From 8d3f00f0ec66eb5010ad2fe780450beda318f4b2 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 3 Oct 2017 22:49:35 +0000 Subject: [PATCH] isert-scst: Make an error message more informative git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7239 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/isert-scst/iser_rdma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iscsi-scst/kernel/isert-scst/iser_rdma.c b/iscsi-scst/kernel/isert-scst/iser_rdma.c index 10051f7cd..c97924d01 100644 --- a/iscsi-scst/kernel/isert-scst/iser_rdma.c +++ b/iscsi-scst/kernel/isert-scst/iser_rdma.c @@ -989,7 +989,8 @@ static struct isert_device *isert_device_create(struct ib_device *ib_dev) sizeof(*isert_dev->cq_qps), GFP_KERNEL); if (unlikely(isert_dev->cq_qps == NULL)) { - PRINT_ERROR("Failed to allocate iser cq_qps"); + PRINT_ERROR("Failed to allocate %d iser cq_qps", + isert_dev->num_cqs); err = -ENOMEM; goto free_isert_dev; }