X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=.checkpatch.conf;h=95f19635d35a38fba1538d42a7ab138f7fcf0ff3;hb=0e78c9181c6460d10255bfb6dc6d1f2d6912717e;hp=977db9edbbddcb202d02704854731e033794b744;hpb=f9342e2c3e81d62e42393c0c1a8179c309ef3a20;p=oweals%2Fu-boot.git diff --git a/.checkpatch.conf b/.checkpatch.conf index 977db9edbb..95f19635d3 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -12,3 +12,19 @@ # 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