The rule states: "Function types shall be in prototype form with named parameters". Add missing parameter names.
Fixes: 6ff0cfbfd4f7 ("mm: allow page scrubbing routine(s) to be arch controlled") Signed-off-by: Nicola Vetrini <nicola.vetr...@bugseng.com> --- xen/arch/x86/include/asm/page.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/include/asm/page.h b/xen/arch/x86/include/asm/page.h index d8e23e614c88..b53cd19f31a4 100644 --- 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 *from); #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 *pg); +void scrub_page_cold(void *pg); #endif /* Convert between Xen-heap virtual addresses and machine addresses. */ -- 2.43.0