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