.checkpatch.conf 610 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# Not Linux, so don't expect a Linux tree.
--no-tree

# Temporary for false positive in checkpatch
--ignore COMPLEX_MACRO

# For CONFIG_SYS_I2C_NOPROBES
--ignore MULTISTATEMENT_MACRO_USE_DO_WHILE

# For simple_strtoul
--ignore CONSIDER_KSTRTO

# For min/max
--ignore MINMAX
15 16 17

# enable more tests
--strict
18 19 20

# Not Linux, so we don't recommend usleep_range() over udelay()
--ignore USLEEP_RANGE
21 22 23

# Ignore networking block comment style
--ignore NETWORKING_BLOCK_COMMENT_STYLE
24 25 26 27

# Ignore "WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet
# addresses are __aligned(2)".
--ignore PREFER_ETHER_ADDR_COPY