]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ti-u-boot/ti-u-boot.git/blobdiff - .checkpatch.conf
Prepare v2024.04
[ti-u-boot/ti-u-boot.git] / .checkpatch.conf
index d1d32fac9db5314562db5ecd60ae907a5386ba79..c368d4147260932c7e19ee113d1be574833ee083 100644 (file)
@@ -4,7 +4,7 @@
 # Temporary for false positive in checkpatch
 --ignore COMPLEX_MACRO
 
-# For CONFIG_SYS_I2C_NOPROBES
+# For CFG_SYS_I2C_NOPROBES
 --ignore MULTISTATEMENT_MACRO_USE_DO_WHILE
 
 # For simple_strtoul
 # Ignore "WARNING: Prefer ether_addr_copy() over memcpy() if the Ethernet
 # addresses are __aligned(2)".
 --ignore PREFER_ETHER_ADDR_COPY
+
+# ENOSYS is a conventionally used error, even though U-Boot lacks system calls.
+--ignore ENOSYS
+
+# A bit shorter of a description is OK with us.
+--min-conf-desc-length=2
+
+# Extra checks for U-Boot
+--u-boot