]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
etc/checkpatch/checkpatch.conf: Ignore MACRO_ARG_PRECEDENCE
authorAlejandro Colomar <alx@kernel.org>
Thu, 21 Nov 2024 23:54:37 +0000 (00:54 +0100)
committerAlejandro Colomar <alx@kernel.org>
Fri, 22 Nov 2024 00:14:38 +0000 (01:14 +0100)
This diagnostic is useful for preventing unsafe macros, but other linter programs
provide a smaller rate of false positives, so let's turn this one off.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
etc/checkpatch/checkpatch.conf

index 3bf7c0aab48b115acd67a327bc6d2fc0a8cbf7c1..b182aad5030cc7bed19f9228cce5c11ac1e4569f 100644 (file)
@@ -13,6 +13,7 @@
 --ignore LEADING_SPACE
 --ignore LINE_SPACING
 --ignore LOGICAL_CONTINUATIONS
+--ignore MACRO_ARG_PRECEDENCE
 --ignore MACRO_ARG_REUSE
 --ignore MULTIPLE_ASSIGNMENTS
 --ignore OPEN_BRACE