All of lore.kernel.org
 help / color / mirror / Atom feed
* [XEN PATCH v2 0/5] x86: address MISRA C:2012 Rule 5.3
@ 2023-08-08 11:08 Nicola Vetrini
  2023-08-08 11:08 ` [XEN PATCH v2 1/5] " Nicola Vetrini
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Nicola Vetrini @ 2023-08-08 11:08 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, Paul Durrant, 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.

The thread of the first submission is here [1]
---
Changes in v2:
- Addressed numerous review comments
- Dropped patch 2/6 [2], as that has already been committed

[1] https://lists.xenproject.org/archives/html/xen-devel/2023-08/msg00538.html
[2] https://lists.xenproject.org/archives/html/xen-devel/2023-08/msg00539.html
Nicola Vetrini (5):
  x86: 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'

 xen/arch/x86/e820.c                         | 36 +++++++++----------
 xen/arch/x86/guest/hyperv/hyperv.c          |  4 +--
 xen/arch/x86/guest/hypervisor.c             |  2 +-
 xen/arch/x86/guest/xen/xen.c                |  4 +--
 xen/arch/x86/include/asm/e820.h             |  3 +-
 xen/arch/x86/include/asm/guest/hypervisor.h |  2 +-
 xen/arch/x86/include/asm/mpspec.h           |  1 -
 xen/arch/x86/include/asm/pv/shim.h          |  2 +-
 xen/arch/x86/pv/shim.c                      | 10 +++---
 xen/arch/x86/setup.c                        |  8 ++---
 xen/arch/x86/x86_64/mmconf-fam10h.c         |  2 +-
 xen/arch/x86/xstate.c                       | 30 ++++++++--------
 xen/drivers/passthrough/amd/iommu_acpi.c    |  2 +-
 xen/include/public/arch-x86/xen-mca.h       | 38 ++++++++++-----------
 xen/include/xen/delay.h                     |  9 +++--
 15 files changed, 78 insertions(+), 75 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2023-08-09  7:33 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 11:08 [XEN PATCH v2 0/5] x86: address MISRA C:2012 Rule 5.3 Nicola Vetrini
2023-08-08 11:08 ` [XEN PATCH v2 1/5] " Nicola Vetrini
2023-08-08 13:46   ` Jan Beulich
2023-08-09  7:32     ` Nicola Vetrini
2023-08-08 11:08 ` [XEN PATCH v2 2/5] xen/delay: " Nicola Vetrini
2023-08-08 13:56   ` Jan Beulich
2023-08-08 13:57     ` Jan Beulich
2023-08-08 11:08 ` [XEN PATCH v2 3/5] x86/include: " Nicola Vetrini
2023-08-08 14:01   ` Jan Beulich
2023-08-08 11:08 ` [XEN PATCH v2 4/5] x86/xstate: " Nicola Vetrini
2023-08-08 14:03   ` Jan Beulich
2023-08-08 11:08 ` [XEN PATCH v2 5/5] x86: refactor macros in 'xen-mca.h' Nicola Vetrini
2023-08-08 12:02   ` Nicola Vetrini
2023-08-08 12:06     ` Jan Beulich
2023-08-08 14:46   ` Jan Beulich

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.