Re: [PATCH 2/2] x86/e820 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/e820.c > +++ b/xen/arch/x86/e820.c > @@ -593,79 +593,79 @@ int __init e820_add_range(uint64_t s, uint64_t e, > uint32_t type) > } > > int __init e820_change_range_type( > -struct e820map *e820, uint64_t s, uint64_t e, >

[PATCH 2/2] x86/e820 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/e820.c | 74 ++--