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

Nicola Vetrini posted 4 patches 9 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1690810346.git.nicola.vetrini@bugseng.com
There is a newer version of this series
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(-)
[XEN PATCH 0/4] xen: address MISRA C:2012 Rule 5.3
Posted by Nicola Vetrini 9 months, 1 week ago
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