Re: [XEN PATCH][for-4.19 v6 2/8] x86: add deviation for asm-only functions

2023-11-02 Thread Nicola Vetrini
On 2023-11-02 14:27, Jan Beulich wrote: On 02.11.2023 00:10, Stefano Stabellini wrote: On Wed, 1 Nov 2023, Nicola Vetrini wrote: As stated in rules.rst, functions used only in asm modules are allowed to have no prior declaration visible when being defined, hence these functions are marked with

Re: [XEN PATCH][for-4.19 v6 2/8] x86: add deviation for asm-only functions

2023-11-02 Thread Jan Beulich
On 02.11.2023 00:10, Stefano Stabellini wrote: > On Wed, 1 Nov 2023, Nicola Vetrini wrote: >> As stated in rules.rst, functions used only in asm modules >> are allowed to have no prior declaration visible when being >> defined, hence these functions are marked with an >> 'asmlinkage' macro, which i

Re: [XEN PATCH][for-4.19 v6 2/8] x86: add deviation for asm-only functions

2023-11-02 Thread Nicola Vetrini
Hi Julien, On 2023-11-02 00:42, Julien Grall wrote: Hi Stefano, On 01/11/2023 23:10, Stefano Stabellini wrote: On Wed, 1 Nov 2023, Nicola Vetrini wrote: As stated in rules.rst, functions used only in asm modules are allowed to have no prior declaration visible when being defined, hence these

Re: [XEN PATCH][for-4.19 v6 2/8] x86: add deviation for asm-only functions

2023-11-01 Thread Julien Grall
Hi Stefano, On 01/11/2023 23:10, Stefano Stabellini wrote: On Wed, 1 Nov 2023, Nicola Vetrini wrote: As stated in rules.rst, functions used only in asm modules are allowed to have no prior declaration visible when being defined, hence these functions are marked with an 'asmlinkage' macro, which

Re: [XEN PATCH][for-4.19 v6 2/8] x86: add deviation for asm-only functions

2023-11-01 Thread Stefano Stabellini
On Wed, 1 Nov 2023, Nicola Vetrini wrote: > As stated in rules.rst, functions used only in asm modules > are allowed to have no prior declaration visible when being > defined, hence these functions are marked with an > 'asmlinkage' macro, which is then deviated for MISRA C:2012 > Rule 8.4. > > Sig