| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2] docs/misra: add rule 2.1 exceptions
 On 23/08/2023 23:39, Stefano Stabellini wrote: From: Stefano Stabellini <stefano.stabellini@xxxxxxx> During the discussions that led to the acceptance of Rule 2.1, we decided on a few exceptions that were not properly recorded in rules.rst. Add them now. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- Note that safe.json and the codebase are not yet updated with an appropriate tag for BUG, panic and friends. I think it should be updated with at least one of them. Otherwise... ... someone reading this and then reading safe.json will wonder why none are present. The list would then only contain the one(s) currently added in safe.json. But there should be no expectation that the examples will grow everytime one is added in safe.json. + - asm-offsets.c, as they are not linked deliberately, because + they are used to generate definitions for asm modules + - Declarations without initializer are safe, as they are not + executed* - `Rule 2.6 <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_02_06.c>`_ Cheers, -- Julien Grall 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |