Merge tag 'asoc-fix-v5.14-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / misc / vmw_vmci / vmci_context.c
index 26ff49f..c0b5e33 100644 (file)
@@ -107,7 +107,7 @@ struct vmci_ctx *vmci_ctx_create(u32 cid, u32 priv_flags,
        context = kzalloc(sizeof(*context), GFP_KERNEL);
        if (!context) {
                pr_warn("Failed to allocate memory for VMCI context\n");
-               error = -EINVAL;
+               error = -ENOMEM;
                goto err_out;
        }