use ENOMEM return instead of MEMORY_E

This commit is contained in:
JacobBarthelmeh
2026-05-20 01:33:52 -07:00
parent 51698759fa
commit 3c8bdaafc3
+1 -1
View File
@@ -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;
}