All of lore.kernel.org
 help / color / mirror / Atom feed
* [XEN PATCH v2 0/3] address violations of MISRA C Rule 20.7
@ 2024-04-30 14:28 Nicola Vetrini
  2024-04-30 14:28 ` [XEN PATCH v2 1/3] drivers: char: address violation " Nicola Vetrini
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Nicola Vetrini @ 2024-04-30 14:28 UTC (permalink / raw)
  To: xen-devel, nicola.vetrini
  Cc: sstabellini, michal.orzel, xenia.ragiadakou, ayan.kumar.halder,
	consulting, bertrand.marquis, julien, Volodymyr Babchuk,
	Anthony PERARD, Andrew Cooper, George Dunlap, Jan Beulich,
	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.

Patch 1/3 is derived from that of v1; patches 2 and 3 are new to this series.

Nicola Vetrini (3):
  drivers: char: address violation of MISRA C Rule 20.7
  xen/unaligned: address violation of MISRA C Rule 20.7
  xen/pci: address violations of MISRA C Rule 20.7

 tools/include/xen-tools/common-macros.h | 2 +-
 xen/drivers/char/omap-uart.c            | 5 +++--
 xen/include/xen/pci_regs.h              | 6 +++---
 xen/include/xen/unaligned.h             | 2 +-
 xen/include/xen/vpci.h                  | 2 +-
 5 files changed, 9 insertions(+), 8 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-05-14  9:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 14:28 [XEN PATCH v2 0/3] address violations of MISRA C Rule 20.7 Nicola Vetrini
2024-04-30 14:28 ` [XEN PATCH v2 1/3] drivers: char: address violation " Nicola Vetrini
2024-05-01 19:57   ` Stefano Stabellini
2024-05-03  7:29     ` Nicola Vetrini
2024-05-03 10:10       ` Jan Beulich
2024-05-03 10:18         ` Nicola Vetrini
2024-04-30 14:28 ` [XEN PATCH v2 2/3] xen/unaligned: " Nicola Vetrini
2024-04-30 15:13   ` Jan Beulich
2024-04-30 15:25     ` Nicola Vetrini
2024-04-30 14:28 ` [XEN PATCH v2 3/3] xen/pci: address violations " Nicola Vetrini
2024-04-30 15:15   ` Jan Beulich
2024-05-14  9:11   ` 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.