linuxkm/module_hooks.c: fix flub in IntelRDseed64_r() ForceZero() call;

linuxkm/lkcapi_aes_glue.c: fix typo in linuxkm_test_aesgcm() error message.
This commit is contained in:
Daniel Pouzzner
2026-06-12 19:24:32 -05:00
parent 1b22e4b502
commit 4d77baff3b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3639,7 +3639,7 @@ static int linuxkm_test_aesgcm(void)
src = malloc(sizeof(struct scatterlist) * 2);
if (! src) {
pr_err("error: malloc src failed,\n");
pr_err("error: malloc src failed.\n");
ret = MEMORY_E;
goto test_gcm_end;
}
+1 -1
View File
@@ -472,7 +472,7 @@ static WC_INLINE int IntelRDseed64_r(word64* rnd)
WC_SANITIZE_ENABLE();
buf = 0;
}
wc_ForceZero(&buf, 0, sizeof buf);
wc_ForceZero(&buf, sizeof buf);
return 0;
}