[XEN PATCH v2 0/3] address violations of MISRA C Rule 20.7

Nicola Vetrini posted 3 patches 2 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1714487169.git.nicola.vetrini@bugseng.com
There is a newer version of this series
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(-)
[XEN PATCH v2 0/3] address violations of MISRA C Rule 20.7
Posted by Nicola Vetrini 2 weeks, 5 days ago
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