X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=.checkpatch.conf;h=ed0c2150ba8cb4e608b13047d1b25ef144732f2e;hb=7fc7d241169d26ec79a86bfcab0e966c778defe7;hp=977db9edbbddcb202d02704854731e033794b744;hpb=fdbe8b9a2d1858ba35dd6214315563ad44d4a0e3;p=oweals%2Fu-boot.git diff --git a/.checkpatch.conf b/.checkpatch.conf index 977db9edbb..ed0c2150ba 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -12,3 +12,22 @@ # For min/max --ignore MINMAX + +# enable more tests +--strict + +# Not Linux, so we don't recommend usleep_range() over udelay() +--ignore USLEEP_RANGE + +# Ignore networking block comment style +--ignore NETWORKING_BLOCK_COMMENT_STYLE + +# Ignore "WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet +# addresses are __aligned(2)". +--ignore PREFER_ETHER_ADDR_COPY + +# A bit shorter of a description is OK with us. +--min-conf-desc-length=2 + +# Extra checks for U-Boot +--u-boot