Re: [PATCH 1/2] x86/mm address violations of MISRA C:2012 Rule 5.3

2024-06-17 Thread Jan Beulich
On 14.06.2024 18:12, Alessandro Zucchelli wrote: > --- a/xen/arch/x86/mm.c > +++ b/xen/arch/x86/mm.c > @@ -4703,7 +4703,7 @@ long arch_memory_op(unsigned long cmd, > XEN_GUEST_HANDLE_PARAM(void) arg) > { > struct xen_foreign_memory_map fmap; > struct domain *d; > -st

[PATCH 1/2] x86/mm address violations of MISRA C:2012 Rule 5.3

2024-06-14 Thread Alessandro Zucchelli
This addresses violations of MISRA C:2012 Rule 5.3 which states as following: An identifier declared in an inner scope shall not hide an identifier declared in an outer scope. No functional change. Signed-off-by: Alessandro Zucchelli --- xen/arch/x86/mm.c | 12 ++-- 1 file changed, 6 in