From b264570ba2b31034bd203bcbfb4bfaeaab3dcad4 Mon Sep 17 00:00:00 2001 From: Federico Serafini Date: Mon, 20 Nov 2023 10:54:46 +0100 Subject: [PATCH] x86/sysctl: address a violation of MISRA C:2012 Rule 8.2 Add missing parameter name. No functional change. Signed-off-by: Federico Serafini Acked-by: Jan Beulich --- xen/arch/x86/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/sysctl.c b/xen/arch/x86/sysctl.c index c107f40c62..1d40d82c5a 100644 --- a/xen/arch/x86/sysctl.c +++ b/xen/arch/x86/sysctl.c @@ -118,7 +118,7 @@ long arch_do_sysctl( unsigned int cpu = sysctl->u.cpu_hotplug.cpu; unsigned int op = sysctl->u.cpu_hotplug.op; bool plug; - long (*fn)(void *); + long (*fn)(void *data); void *hcpu; switch ( op )