Re: [XEN PATCH v2] xen/compiler: deviate the inline macro for MISRA C Rule 20.4

2024-03-12 Thread Nicola Vetrini
On 2024-03-12 12:25, Jan Beulich wrote: On 12.03.2024 12:13, Nicola Vetrini wrote: Rule 20.4 states: "A macro shall not be defined with the same name as a keyword". Defining this macro with the same name as the inline keyword allows for additionally checking that out-of-lined static inline

Re: [XEN PATCH v2] xen/compiler: deviate the inline macro for MISRA C Rule 20.4

2024-03-12 Thread Jan Beulich
On 12.03.2024 12:13, Nicola Vetrini wrote: > Rule 20.4 states: "A macro shall not be defined with the same name > as a keyword". > > Defining this macro with the same name as the inline keyword > allows for additionally checking that out-of-lined static inline > functions end up in the correct

[XEN PATCH v2] xen/compiler: deviate the inline macro for MISRA C Rule 20.4

2024-03-12 Thread Nicola Vetrini
Rule 20.4 states: "A macro shall not be defined with the same name as a keyword". Defining this macro with the same name as the inline keyword allows for additionally checking that out-of-lined static inline functions end up in the correct section while minimizing churn and has a positive impact