projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/ehca: Fix error return code in ehca_create_slab_caches()
[cascardo/linux.git]
/
drivers
/
infiniband
/
hw
/
ehca
/
ehca_main.c
diff --git
a/drivers/infiniband/hw/ehca/ehca_main.c
b/drivers/infiniband/hw/ehca/ehca_main.c
index
f8a6291
..
8f43093
100644
(file)
--- a/
drivers/infiniband/hw/ehca/ehca_main.c
+++ b/
drivers/infiniband/hw/ehca/ehca_main.c
@@
-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