mbox series

[XEN,0/4] xen: address MISRA C:2012 Rule 5.3

Message ID cover.1690810346.git.nicola.vetrini@bugseng.com (mailing list archive)
Headers show
Series xen: address MISRA C:2012 Rule 5.3 | expand

Message

Nicola Vetrini July 31, 2023, 1:34 p.m. UTC
Rule 5.3 has the following headline:
"An identifier declared in an inner scope shall not hide an
identifier declared in an outer scope".

The following two strategies are adopted to deal with som violations
of this rule:
- renaming of local variables, functions or parameters;
- removal of unnecessary parameters from function definitions.

No functional changes.

Nicola Vetrini (4):
  xen/pci: rename local variable to address MISRA C:2012 Rule 5.3
  amd/iommu: rename functions to address MISRA C:2012 Rule 5.3
  xen: rename variables and parameters to address MISRA C:2012 Rule 5.3
  arm/efi: address MISRA C:2012 Rule 5.3

 xen/arch/arm/efi/efi-boot.h               | 29 +++++++++---------
 xen/common/compat/memory.c                |  6 ++--
 xen/common/numa.c                         | 36 +++++++++++------------
 xen/drivers/char/ehci-dbgp.c              |  4 +--
 xen/drivers/char/ns16550.c                |  4 +--
 xen/drivers/passthrough/amd/iommu_guest.c | 14 ++++-----
 xen/drivers/passthrough/pci.c             | 12 ++++----
 7 files changed, 53 insertions(+), 52 deletions(-)

--
2.34.1