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
This commit is contained in:
Bart Van Assche
2017-10-03 22:49:35 +00:00
parent 1a82332127
commit 8d3f00f0ec

View File

@@ -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;
}