mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
Add more rules to ignore, as some of them incorrectly report false positive results, for example in [1]. [1] https://github.com/linux-msm/qdl/actions/runs/15830061230/job/44624781156?pr=37 Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
--no-tree
|
|
--strict
|
|
--max-line-length=120
|
|
--ignore FILE_PATH_CHANGES
|
|
--ignore EMAIL_SUBJECT
|
|
--ignore SPLIT_STRING
|
|
|
|
# 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
|