From ae995a5500c0542b63fdf80cc4489503ebcde6f5 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 14 May 2026 19:16:01 +0100 Subject: [PATCH] kexec: kexec_crash_save_info() vs Misra C:2012 rule 8.3 ... ("All declarations of an object or function shall use the same names and type qualifiers"). The declaration doesn't use the typedef, so the definition shouldn't either. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper Reviewed-by: Stefano Stabellini --- xen/common/kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/kexec.c b/xen/common/kexec.c index 1a3a20e1c9..65776a95fd 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -333,7 +333,7 @@ void kexec_crash_save_cpu(void) } /* Set up the single Xen-specific-info crash note. */ -crash_xen_info_t *kexec_crash_save_info(void) +struct crash_xen_info *kexec_crash_save_info(void) { int cpu = smp_processor_id(); crash_xen_info_t info;