.checkpatch.conf 817 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Not Linux, so don't expect a Linux tree.
  2. --no-tree
  3. # Temporary for false positive in checkpatch
  4. --ignore COMPLEX_MACRO
  5. # For CONFIG_SYS_I2C_NOPROBES
  6. --ignore MULTISTATEMENT_MACRO_USE_DO_WHILE
  7. # For simple_strtoul
  8. --ignore CONSIDER_KSTRTO
  9. # For min/max
  10. --ignore MINMAX
  11. # enable more tests
  12. --strict
  13. # Not Linux, so we don't recommend usleep_range() over udelay()
  14. --ignore USLEEP_RANGE
  15. # Ignore networking block comment style
  16. --ignore NETWORKING_BLOCK_COMMENT_STYLE
  17. # Ignore "WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet
  18. # addresses are __aligned(2)".
  19. --ignore PREFER_ETHER_ADDR_COPY
  20. # ENOSYS is a conventionally used error, even though U-Boot lacks system calls.
  21. --ignore ENOSYS
  22. # A bit shorter of a description is OK with us.
  23. --min-conf-desc-length=2
  24. # Extra checks for U-Boot
  25. --u-boot