Re: [XEN PATCH 05/11] xen: address MISRA C Rule 20.7 violation in generated hypercall

2024-03-25 Thread Jan Beulich
On 22.03.2024 17:01, Nicola Vetrini wrote: > MISRA C Rule 20.7 states: "Expressions resulting from the expansion > of macro parameters shall be enclosed in parentheses". Therefore, some > macro definitions should gain additional parentheses to ensure that all > current and future users will be

[XEN PATCH 05/11] xen: address MISRA C Rule 20.7 violation in generated hypercall

2024-03-22 Thread Nicola Vetrini
MISRA C Rule 20.7 states: "Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses". Therefore, some macro definitions should gain additional parentheses to ensure that all current and future users will be safe with respect to expansions that can possibly