From 4d77baff3b70696c3ac2a0d0d0de9f931d225fdf Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Fri, 12 Jun 2026 19:24:32 -0500 Subject: [PATCH] linuxkm/module_hooks.c: fix flub in IntelRDseed64_r() ForceZero() call; linuxkm/lkcapi_aes_glue.c: fix typo in linuxkm_test_aesgcm() error message. --- linuxkm/lkcapi_aes_glue.c | 2 +- linuxkm/module_hooks.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linuxkm/lkcapi_aes_glue.c b/linuxkm/lkcapi_aes_glue.c index c3d7fbce56..1bdb45e20c 100644 --- a/linuxkm/lkcapi_aes_glue.c +++ b/linuxkm/lkcapi_aes_glue.c @@ -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; } diff --git a/linuxkm/module_hooks.c b/linuxkm/module_hooks.c index cc3357790f..edb66864f0 100644 --- a/linuxkm/module_hooks.c +++ b/linuxkm/module_hooks.c @@ -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; }