[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XEN PATCH v2 0/3] address violations of MISRA C Rule 20.7
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |