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; }