Re: [XEN PATCH 4/7] xen/arm: mem_access: address violations of MISRA C:2012 Rule 16.3

2023-12-20 Thread Tamas K Lengyel
On Wed, Dec 20, 2023 at 6:53 AM Julien Grall wrote: > > Hi Federico, > > On 20/12/2023 11:03, Federico Serafini wrote: > > Refactor of the code to have a break statement at the end of the > > switch-clause. This addresses violations of Rule 16.3 > > ("An unconditional `break' statement shall termi

Re: [XEN PATCH 4/7] xen/arm: mem_access: address violations of MISRA C:2012 Rule 16.3

2023-12-20 Thread Julien Grall
Hi Federico, On 20/12/2023 11:03, Federico Serafini wrote: Refactor of the code to have a break statement at the end of the switch-clause. This addresses violations of Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause"). No functional change. Signed-off-by: Fede

[XEN PATCH 4/7] xen/arm: mem_access: address violations of MISRA C:2012 Rule 16.3

2023-12-20 Thread Federico Serafini
Refactor of the code to have a break statement at the end of the switch-clause. This addresses violations of Rule 16.3 ("An unconditional `break' statement shall terminate every switch-clause"). No functional change. Signed-off-by: Federico Serafini --- xen/arch/arm/mem_access.c | 12 ++-