Re: [XEN PATCH 07/10] xen/efi: efibind: address violations of MISRA C Rule 20.7

2024-03-18 Thread Nicola Vetrini
On 2024-03-18 17:49, Jan Beulich wrote: On 18.03.2024 12:53, 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

Re: [XEN PATCH 07/10] xen/efi: efibind: address violations of MISRA C Rule 20.7

2024-03-18 Thread Jan Beulich
On 18.03.2024 12:53, 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 07/10] xen/efi: efibind: address violations of MISRA C Rule 20.7

2024-03-18 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