Skip to content

Commit 9f3d6c8

Browse files
committed
build: ignore PREFER_DEFINED_ATTRIBUTE_MACRO
The library doesn't defined attribute macros, thus no point in warning. Furthermore, such macros should also not be used in the public interfaces as it will pollute the namespace. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 1a4d092 commit 9f3d6c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.checkpatch.conf

+3
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@
2222

2323
# Avoid "Does not appear to be a unified-diff format patch" message
2424
--ignore NOT_UNIFIED_DIFF
25+
26+
# Do not warn for __attribute__((XXX)) is used
27+
--ignore PREFER_DEFINED_ATTRIBUTE_MACRO

0 commit comments

Comments
 (0)