From 9c1d9c164bdf98a88b53b3fcceaac6462f29bb52 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Thu, 11 Jun 2026 16:30:42 -0500 Subject: [PATCH] fix F-673: Wrong sizeof Type in Allocation Failure Error Message --- linuxkm/x86_vector_register_glue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxkm/x86_vector_register_glue.c b/linuxkm/x86_vector_register_glue.c index 90ae0efcc1..8ada98f9e4 100644 --- a/linuxkm/x86_vector_register_glue.c +++ b/linuxkm/x86_vector_register_glue.c @@ -72,7 +72,7 @@ WARN_UNUSED_RESULT int allocate_wolfcrypt_linuxkm_fpu_states(void) if (! wc_linuxkm_fpu_states) { pr_err("ERROR: allocation of %lu bytes for " "wc_linuxkm_fpu_states failed.\n", - nr_cpu_ids * sizeof(struct fpu_state *)); + nr_cpu_ids * sizeof(wc_linuxkm_fpu_states[0])); return MEMORY_E; }