... to be in line with Misra rule 8.2 requirements. Fixes: 6ff0cfbfd4f7 ("mm: allow page scrubbing routine(s) to be arch controlled") Signed-off-by: Jan Beulich <jbeul...@suse.com> --- The offending patch had been pending for far longer than we care about Misra, and hence at the time of writing I didn't pay attention. And then I never looked again. I'm sorry.
--- a/xen/arch/x86/include/asm/page.h +++ b/xen/arch/x86/include/asm/page.h @@ -227,8 +227,8 @@ void copy_page_sse2(void *to, const void #define copy_page(_t, _f) copy_page_sse2(_t, _f) #ifdef CONFIG_DEBUG -void scrub_page_hot(void *); -void scrub_page_cold(void *); +void scrub_page_hot(void *ptr); +void scrub_page_cold(void *ptr); #endif /* Convert between Xen-heap virtual addresses and machine addresses. */