| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH v2] arm64/vfp: address MISRA C:2012 Dir 4.3
 On 24/08/2023 10:01, Michal Orzel wrote: Hi Nicola, On 24/08/2023 09:37, Nicola Vetrini wrote:Directive 4.3 prescribes the following: "Assembly language shall be encapsulated and isolated", on the grounds of improved readability and ease of maintenance. A static inline function is the chosen encapsulation mechanism. No functional change. Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx> --- Changes in v2: - Switched to a static inline function ---xen/arch/arm/arm64/vfp.c | 78 ++++++++++++++++++++++------------------ I wonder whether this would make a difference, given that the return type is void. It's fine either way, tough. -- Nicola Vetrini, BSc Software Engineer, BUGSENG srl (https://bugseng.com) 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |