diff --git a/linuxkm/lkcapi_aes_glue.c b/linuxkm/lkcapi_aes_glue.c index 78f5d0842b..574c7d20de 100644 --- a/linuxkm/lkcapi_aes_glue.c +++ b/linuxkm/lkcapi_aes_glue.c @@ -408,7 +408,7 @@ static int km_AesInitCommon( if (! ctx->aes_decrypt_C) { pr_err("%s: allocation of %zu bytes for decryption key failed.\n", name, sizeof(*ctx->aes_decrypt_C)); - err = -MEMORY_E; + err = -ENOMEM; goto out; }