header

  1. 05 Jul, 2022 1 commit
  2. 22 Apr, 2022 3 commits
  3. 08 Apr, 2022 1 commit
  4. 07 Apr, 2022 6 commits
  5. 06 Apr, 2022 4 commits
  6. 29 Mar, 2022 7 commits
  7. 23 Mar, 2022 1 commit
  8. 14 Mar, 2022 2 commits
  9. 01 Mar, 2022 1 commit
    • Abramo Bagnara's avatar
      coding guidelines: partially comply with MISRA C:2012 essential types rules. · d03fa8d8
      Abramo Bagnara authored
      
      
      In particular:
      
      - use bool when the data nature is Boolean;
      
      - use explicit comparison with 0 or NULL;
      
      - avoid mixing signed and unsigned integers in computations and
        comparisons;
      
      - avoid mixing enumerations with integers: when this is unavoidable,
        always convert enums to integers and not the other way around;
      
      - avoid mixing characters with integers;
      
      - ensure computations are done in the destination precision;
      
      - added /*? comments when the developer intentions are not clear;
      
      - added U suffix to unsigned constants (except for the CONFIG_* macro
        constants, as they cannot be changed and then their use as unsigned
        constants should be prefixed with a cast).
      
      Violations for rules 10.1, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8,
      11.7, 12.2, 14.4 and 16.7 in the reference builds have been reduced
      from 67818 to 60.  The commit cannot be divided on a per-rule basis
      due to numerous cross-dependencies between changes.
      
      Signed-off-by: Abramo Bagnara's avatarAbramo Bagnara <abramo.bagnara@bugseng.com>
      d03fa8d8
  10. 22 Feb, 2022 1 commit
  11. 08 Feb, 2022 13 commits