Message ID | 06004789b921a35632bd7126bf022e20c15052ef.1698045505.git.federico.serafini@bugseng.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | x86: address some violations of MISRA C:2012 Rule 8.2 | expand |
On 23.10.2023 09:23, Federico Serafini wrote: > Add missing parameter name. No functional change. > > Signed-off-by: Federico Serafini <federico.serafini@bugseng.com> Acked-by: Jan Beulich <jbeulich@suse.com>
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 )
Add missing parameter name. No functional change. Signed-off-by: Federico Serafini <federico.serafini@bugseng.com> --- xen/arch/x86/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)