Re: [XEN PATCH v2 8/9] xen/domain: deviate MISRA C Rule 16.2 violation

2024-04-08 Thread Jan Beulich
On 05.04.2024 11:14, Nicola Vetrini wrote: > MISRA C Rule 16.2 states: > "A switch label shall only be used when the most closely-enclosing > compound statement is the body of a switch statement". > > The PROGRESS_VCPU local helper specifies a case that is directly > inside the compound statement

[XEN PATCH v2 8/9] xen/domain: deviate MISRA C Rule 16.2 violation

2024-04-05 Thread Nicola Vetrini
MISRA C Rule 16.2 states: "A switch label shall only be used when the most closely-enclosing compound statement is the body of a switch statement". The PROGRESS_VCPU local helper specifies a case that is directly inside the compound statement of a for loop, hence violating the rule. To avoid