Re: [PATCH 5/5] xen/arm64: traps: Fix MISRA C 2012 Rule 8.4 violations

2022-06-28 Thread Bertrand Marquis
Hi Xenia, > On 26 Jun 2022, at 22:11, Xenia Ragiadakou wrote: > > Add a function prototype for do_bad_mode() in and include > header in traps.c, so that the declarations of the functions > do_bad_mode() and finalize_instr_emulation(), which have external linkage, > are visible before the funct

[PATCH 5/5] xen/arm64: traps: Fix MISRA C 2012 Rule 8.4 violations

2022-06-26 Thread Xenia Ragiadakou
Add a function prototype for do_bad_mode() in and include header in traps.c, so that the declarations of the functions do_bad_mode() and finalize_instr_emulation(), which have external linkage, are visible before the function definitions. Signed-off-by: Xenia Ragiadakou --- xen/arch/arm/arm64/