Skip to content

xen: address MISRA C:2012 Rule 5.3

Nicola Vetrini xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v14 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- Patches 1/4 and 2/4 from the previous version of this patch
(https://lore.kernel.org/xen-devel/[email protected]/)
are already committed to staging, therefore are excluded from this series.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen/common: address MISRA C:2012 Rule 5.3xen/common/compat/memory.c xen/common/numa.c+13 -142 replies
2/3drivers/char: address MISRA C:2012 Rule 5.3xen/drivers/char/ehci-dbgp.c xen/drivers/char/ns16550.c+4 -61 reply
3/3arm/efi: address MISRA C:2012 Rule 5.3xen/arch/arm/efi/efi-boot.h+42 -421 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJan BeulichStefano Stabellini
1/3A-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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/[email protected]/)
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