Re: [PATCH v2] xen/arm: traps: Fix MISRA C 2012 Rule 8.4 violation

2022-07-14 Thread Julien Grall
On 07/07/2022 00:42, Stefano Stabellini wrote: On Wed, 6 Jul 2022, Xenia Ragiadakou wrote: Add the function prototype of show_stack() in header file so that it is visible before its definition in traps.c. Although show_stack() is referenced only in traps.c, it is declared with external link

Re: [PATCH v2] xen/arm: traps: Fix MISRA C 2012 Rule 8.4 violation

2022-07-06 Thread Stefano Stabellini
On Wed, 6 Jul 2022, Xenia Ragiadakou wrote: > Add the function prototype of show_stack() in header file > so that it is visible before its definition in traps.c. > > Although show_stack() is referenced only in traps.c, it is declared with > external linkage because, during development, it is ofte

[PATCH v2] xen/arm: traps: Fix MISRA C 2012 Rule 8.4 violation

2022-07-06 Thread Xenia Ragiadakou
Add the function prototype of show_stack() in header file so that it is visible before its definition in traps.c. Although show_stack() is referenced only in traps.c, it is declared with external linkage because, during development, it is often called also by other files for debugging purposes. D

[PATCH v2] xen/arm: traps: Fix MISRA C 2012 Rule 8.4 violation

2022-07-06 Thread Xenia Ragiadakou
Add the function prototype of show_stack() in header file so that it is visible before its definition in traps.c. Although show_stack() is referenced only in traps.c, it is declared with external linkage because, during development, it is often called also by other files for debugging purposes. D