[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH v2 0/4] x86: address some violations of MISRA C:2012 Rule 5.3
Some variables are renamed or deleted in this series to avoid shadowing, which violates MISRA C:2012 Rule 5.3, whose headline is: "An identifier declared in an inner scope shall not hide an identifier declared in an outer scope". --- Changes in v2: - Addressed comments on patches 1 and 2. Patches 3 and 4 are unchanged. Nicola Vetrini (4): x86/mce: address MISRA C:2012 Rule 5.3 x86/mtrr: address MISRA C:2012 Rule 5.3 x86/irq: rename variable to address MISRA C:2012 Rule 5.3 x86/setup: address MISRA C:2012 Rule 5.3 xen/arch/x86/cpu/mcheck/barrier.c | 8 ++++---- xen/arch/x86/cpu/mcheck/barrier.h | 14 +++++++------- xen/arch/x86/hvm/hvm.c | 2 +- xen/arch/x86/hvm/mtrr.c | 32 +++++++++++++++---------------- xen/arch/x86/include/asm/irq.h | 2 +- xen/arch/x86/include/asm/setup.h | 2 +- xen/arch/x86/io_apic.c | 10 +++++----- xen/arch/x86/irq.c | 12 ++++++------ xen/arch/x86/msi.c | 4 ++-- xen/arch/x86/setup.c | 3 +-- xen/include/xen/irq.h | 2 +- 11 files changed, 45 insertions(+), 46 deletions(-) -- 2.34.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |