IB/ehca: Fix error return code in ehca_create_slab_caches()
[deliverable/linux.git] / drivers / infiniband / hw / ehca / ehca_main.c
index f8a62918a88d58ef8609899ce06629175c0775bd..8f43093edace0a2106535f5e2b44bce1bc940881 100644 (file)
@@ -211,6 +211,7 @@ static int ehca_create_slab_caches(void)
        if (!ctblk_cache) {
                ehca_gen_err("Cannot create ctblk SLAB cache.");
                ehca_cleanup_small_qp_cache();
+               ret = -ENOMEM;
                goto create_slab_caches6;
        }
 #endif
This page took 0.023937 seconds and 5 git commands to generate.