X-Git-Url: https://git.librecmc.org/?p=oweals%2Fu-boot.git;a=blobdiff_plain;f=.checkpatch.conf;h=ed0c2150ba8cb4e608b13047d1b25ef144732f2e;hp=38386b354dadd99596a4b3efcb9d97d24508412c;hb=1099b2abef35c3c887f6afac1a8ef18c7924d5d2;hpb=0ce033d2582129243aca10d3072a221386bbba44 diff --git a/.checkpatch.conf b/.checkpatch.conf index 38386b354d..ed0c2150ba 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -15,3 +15,19 @@ # 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