All of lore.kernel.org
 help / color / mirror / Atom feed
* [XEN PATCH 0/4] address violations of MISRA C Rule 20.7
@ 2024-05-15  7:34 Nicola Vetrini
  2024-05-15  7:34 ` [XEN PATCH 1/4] x86/vpmu: " Nicola Vetrini
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Nicola Vetrini @ 2024-05-15  7:34 UTC (permalink / raw)
  To: xen-devel, nicola.vetrini
  Cc: sstabellini, michal.orzel, xenia.ragiadakou, ayan.kumar.halder,
	consulting, Jan Beulich, Andrew Cooper, Roger Pau Monné

Hi all,

this series aims to refactor some macros that cause violations of MISRA C Rule
20.7 ("Expressions resulting from the expansion of macro parameters shall be
enclosed in parentheses"). All the macros touched by these patches are in some
way involved in violations, and the strategy adopted to bring them into
compliance is to add parentheses around macro arguments where needed.

Nicola Vetrini (4):
  x86/vpmu: address violations of MISRA C Rule 20.7
  x86/hvm: address violations of MISRA C Rule 20.7
  x86_64/uaccess: address violations of MISRA C Rule 20.7
  x86_64/cpu_idle: address violations of MISRA C Rule 20.7

 xen/arch/x86/cpu/vpmu_amd.c               | 4 ++--
 xen/arch/x86/hvm/mtrr.c                   | 2 +-
 xen/arch/x86/hvm/rtc.c                    | 2 +-
 xen/arch/x86/include/asm/hvm/save.h       | 2 +-
 xen/arch/x86/include/asm/x86_64/uaccess.h | 7 ++++---
 xen/arch/x86/x86_64/cpu_idle.c            | 2 +-
 6 files changed, 10 insertions(+), 9 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-05-21 11:28 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15  7:34 [XEN PATCH 0/4] address violations of MISRA C Rule 20.7 Nicola Vetrini
2024-05-15  7:34 ` [XEN PATCH 1/4] x86/vpmu: " Nicola Vetrini
2024-05-15 23:17   ` Stefano Stabellini
2024-05-21 11:20     ` Jan Beulich
2024-05-15  7:34 ` [XEN PATCH 2/4] x86/hvm: " Nicola Vetrini
2024-05-15 23:18   ` Stefano Stabellini
2024-05-16  7:06     ` Nicola Vetrini
2024-05-21 11:24     ` Jan Beulich
2024-05-15  7:34 ` [XEN PATCH 3/4] x86_64/uaccess: " Nicola Vetrini
2024-05-15 23:19   ` Stefano Stabellini
2024-05-21 11:27     ` Jan Beulich
2024-05-15  7:34 ` [XEN PATCH 4/4] x86_64/cpu_idle: " Nicola Vetrini
2024-05-15 23:19   ` Stefano Stabellini
2024-05-21 11:28     ` Jan Beulich
2024-05-15  7:48 ` [XEN PATCH 0/4] " Jan Beulich
2024-05-16 15:58   ` Oleksii K.
2024-05-16 16:08     ` Jan Beulich
2024-05-16 19:21       ` Oleksii K.

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.