From 612848c64ff8fea5ceb3e7f1473e495640dc4c08 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Fri, 22 Nov 2024 00:54:37 +0100 Subject: [PATCH] etc/checkpatch/checkpatch.conf: Ignore MACRO_ARG_PRECEDENCE 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 --- etc/checkpatch/checkpatch.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/checkpatch/checkpatch.conf b/etc/checkpatch/checkpatch.conf index 3bf7c0aab4..b182aad503 100644 --- a/etc/checkpatch/checkpatch.conf +++ b/etc/checkpatch/checkpatch.conf @@ -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 -- 2.47.2