[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH 0/6] xen: address MISRA C:2012 Rule 5.3
This series addresses shadowing issues to resolve violations of Rule 5.3, whose headline states: "An identifier declared in an inner scope shall not hide an identifier declared in an outer scope". To do this, suitable renames are made. In some cases global objects are modified, while other modifications concern local variables, possibly lessening the probability of future clashes from occurring, by suffixing variables in some macros. No functional change. Nicola Vetrini (6): x86: rename variable 'e820' to address MISRA C:2012 Rule 5.3 libelf: address MISRA C:2012 Rule 5.3 xen/delay: address MISRA C:2012 Rule 5.3. x86/include: address MISRA C:2012 Rule 5.3. x86/xstate: address MISRA C:2012 Rule 5.3 x86: refactor macros in 'xen-mca.h' to address MISRA C:2012 Rule 5.3 xen/arch/x86/dom0_build.c | 10 ++-- xen/arch/x86/e820.c | 66 ++++++++++++------------ xen/arch/x86/guest/xen/xen.c | 4 +- xen/arch/x86/hvm/dom0_build.c | 6 +-- xen/arch/x86/include/asm/e820.h | 2 +- xen/arch/x86/include/asm/mpspec.h | 2 +- xen/arch/x86/mm.c | 49 +++++++++--------- xen/arch/x86/numa.c | 8 +-- xen/arch/x86/setup.c | 22 ++++---- xen/arch/x86/srat.c | 6 +-- xen/arch/x86/x86_64/mmconf-fam10h.c | 2 +- xen/arch/x86/xstate.c | 30 +++++------ xen/common/libelf/libelf-tools.c | 24 ++++----- xen/drivers/passthrough/amd/iommu_acpi.c | 2 +- xen/include/public/arch-x86/xen-mca.h | 38 +++++++------- xen/include/xen/delay.h | 2 +- 16 files changed, 137 insertions(+), 136 deletions(-) -- 2.34.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |