All of lore.kernel.org
 help / color / mirror / Atom feed
* [XEN PATCH 0/6] xen: address MISRA C:2012 Rule 5.3
@ 2023-08-04 15:27 Nicola Vetrini
  2023-08-04 15:27 ` [XEN PATCH 1/6] x86: rename variable 'e820' to " Nicola Vetrini
                   ` (5 more replies)
  0 siblings, 6 replies; 40+ messages in thread
From: Nicola Vetrini @ 2023-08-04 15:27 UTC (permalink / raw)
  To: xen-devel
  Cc: sstabellini, michal.orzel, xenia.ragiadakou, ayan.kumar.halder,
	consulting, Nicola Vetrini, Jan Beulich, Andrew Cooper,
	Roger Pau Monné, Wei Liu, George Dunlap, Julien Grall

This series addresses shadowing issues to resolve violations of Rule 5.3, whose
headline states:
"An identifier declared in an inner scope shall not hide an identifier
declared in an outer scope". To do this, suitable renames are made.
In some cases global objects are modified, while other modifications concern
local variables, possibly lessening the probability of future clashes from
occurring, by suffixing variables in some macros.

No functional change.

Nicola Vetrini (6):
  x86: rename variable 'e820' to address MISRA C:2012 Rule 5.3
  libelf: address MISRA C:2012 Rule 5.3
  xen/delay: address MISRA C:2012 Rule 5.3.
  x86/include: address MISRA C:2012 Rule 5.3.
  x86/xstate: address MISRA C:2012 Rule 5.3
  x86: refactor macros in 'xen-mca.h' to address MISRA C:2012 Rule 5.3

 xen/arch/x86/dom0_build.c                | 10 ++--
 xen/arch/x86/e820.c                      | 66 ++++++++++++------------
 xen/arch/x86/guest/xen/xen.c             |  4 +-
 xen/arch/x86/hvm/dom0_build.c            |  6 +--
 xen/arch/x86/include/asm/e820.h          |  2 +-
 xen/arch/x86/include/asm/mpspec.h        |  2 +-
 xen/arch/x86/mm.c                        | 49 +++++++++---------
 xen/arch/x86/numa.c                      |  8 +--
 xen/arch/x86/setup.c                     | 22 ++++----
 xen/arch/x86/srat.c                      |  6 +--
 xen/arch/x86/x86_64/mmconf-fam10h.c      |  2 +-
 xen/arch/x86/xstate.c                    | 30 +++++------
 xen/common/libelf/libelf-tools.c         | 24 ++++-----
 xen/drivers/passthrough/amd/iommu_acpi.c |  2 +-
 xen/include/public/arch-x86/xen-mca.h    | 38 +++++++-------
 xen/include/xen/delay.h                  |  2 +-
 16 files changed, 137 insertions(+), 136 deletions(-)

--
2.34.1


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2023-08-08 21:25 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04 15:27 [XEN PATCH 0/6] xen: address MISRA C:2012 Rule 5.3 Nicola Vetrini
2023-08-04 15:27 ` [XEN PATCH 1/6] x86: rename variable 'e820' to " Nicola Vetrini
2023-08-04 21:19   ` Stefano Stabellini
2023-08-07  7:14     ` Nicola Vetrini
2023-08-07  8:09   ` Jan Beulich
2023-08-07  8:59     ` Nicola Vetrini
2023-08-07  9:10       ` Jan Beulich
2023-08-07 11:12         ` Nicola Vetrini
2023-08-07 12:02           ` Jan Beulich
2023-08-08  7:08         ` Nicola Vetrini
2023-08-08  7:21           ` Jan Beulich
2023-08-08 21:21             ` Stefano Stabellini
2023-08-08 21:24               ` Stefano Stabellini
2023-08-07 15:03     ` Nicola Vetrini
2023-08-07 15:07       ` Jan Beulich
2023-08-07 18:39     ` Stefano Stabellini
2023-08-04 15:27 ` [XEN PATCH 2/6] libelf: " Nicola Vetrini
2023-08-04 21:21   ` Stefano Stabellini
2023-08-07  8:11   ` Jan Beulich
2023-08-07  9:03     ` Nicola Vetrini
2023-08-04 15:27 ` [XEN PATCH 3/6] xen/delay: " Nicola Vetrini
2023-08-04 21:23   ` Stefano Stabellini
2023-08-07  8:14   ` Jan Beulich
2023-08-07  9:01     ` Julien Grall
2023-08-07  9:15       ` Jan Beulich
2023-08-07  9:23         ` Nicola Vetrini
2023-08-07  9:32           ` Jan Beulich
2023-08-07  9:33             ` Julien Grall
2023-08-04 15:27 ` [XEN PATCH 4/6] x86/include: " Nicola Vetrini
2023-08-04 21:24   ` Stefano Stabellini
2023-08-07  7:16     ` Nicola Vetrini
2023-08-04 15:27 ` [XEN PATCH 5/6] x86/xstate: " Nicola Vetrini
2023-08-04 21:26   ` Stefano Stabellini
2023-08-07  8:23   ` Jan Beulich
2023-08-07  9:20     ` Nicola Vetrini
2023-08-04 15:27 ` [XEN PATCH 6/6] x86: refactor macros in 'xen-mca.h' to " Nicola Vetrini
2023-08-04 15:38   ` Nicola Vetrini
2023-08-04 21:30     ` Stefano Stabellini
2023-08-07  8:31   ` Jan Beulich
2023-08-07 10:01     ` Nicola Vetrini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.