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 <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Jan Beulich authored and Andrew Cooper committed 2026-05-14 19:28:44 +01:00
1 parent 79e060ea03
commit ae995a5500
1 file changed
+1 -1
+1 -1
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.