[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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 some violations
of this rule:
- renaming of local variables, functions or parameters;
- removal of unnecessary declarations.

No functional changes.

Changes in v2:
- Patches 1/4 and 2/4 from the previous version of this patch
  
(https://lore.kernel.org/xen-devel/cover.1690810346.git.nicola.vetrini@xxxxxxxxxxx/)
        are already committed to staging, therefore are excluded from this 
series.

Nicola Vetrini (3):
  xen/common: address MISRA C:2012 Rule 5.3
  drivers/char: address MISRA C:2012 Rule 5.3
  arm/efi: address MISRA C:2012 Rule 5.3

 xen/arch/arm/efi/efi-boot.h  | 84 ++++++++++++++++++------------------
 xen/common/compat/memory.c   |  7 ++-
 xen/common/numa.c            | 20 ++++-----
 xen/drivers/char/ehci-dbgp.c |  4 +-
 xen/drivers/char/ns16550.c   |  6 +--
 5 files changed, 59 insertions(+), 62 deletions(-)

--
2.34.1



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.