Files
qdl/.checkpatch.conf
T

35 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2025-06-16 09:22:31 +02:00
--no-tree
--strict
2025-06-24 06:16:44 +02:00
--max-line-length=120
2025-06-16 09:22:31 +02:00
--ignore FILE_PATH_CHANGES
--ignore EMAIL_SUBJECT
2025-06-18 09:39:54 +02:00
--ignore SPLIT_STRING
2025-06-24 06:16:44 +02:00
# NEW_TYPEDEFS reports "do not add new typedefs"
# typedef struct __attribute__((__packed__)) sparse_header {
--ignore NEW_TYPEDEFS
# PREFER_DEFINED_ATTRIBUTE_MACRO reports this kind of messages:
# WARNING: Prefer __packed over __attribute__((__packed__))
--ignore PREFER_DEFINED_ATTRIBUTE_MACRO
# PREFER_KERNEL_TYPES reports this kind of messages (when using --strict):
# "Prefer kernel type 'u32' over 'uint32_t'"
--ignore PREFER_KERNEL_TYPES
# BRACES reports this kind of messages:
# braces {} are not necessary for any arm of this statement
--ignore BRACES
# CAMELCASE reports this kind of messages:
# Avoid CamelCase: <xmlFreeDoc>
--ignore CAMELCASE
# AVOID_EXTERNS reports this kind of messages:
# externs should be avoided in .c files
# extern const char *__progname;
--ignore AVOID_EXTERNS
# COMMIT_LOG_LONG_LINE reports line lengths > 75 in commit log
# Lets ignore this
--ignore COMMIT_LOG_LONG_LINE