-
Notifications
You must be signed in to change notification settings - Fork 0
/
.checkpatch.conf
37 lines (26 loc) · 917 Bytes
/
.checkpatch.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This isn't a Linux kernel tree.
--no-tree
# Show the message type in the output.
--show-types
# Ignore warning related to MAINTAINERS file.
--ignore FILE_PATH_CHANGES
# Allow // comments.
--ignore C99_COMMENTS
# Relax checking for commit ID format.
--ignore GIT_COMMIT_ID
# Allow `extern` declarations in source code files.
--ignore AVOID_EXTERNS
# Allow adding new typedefs.
--ignore NEW_TYPEDEFS
# Ignore email subject format.
--ignore EMAIL_SUBJECT
# Ignore warnings when creating a frestanding environment (such as a libc).
--ignore SYMBOLIC_PERMS
--ignore ENOSYS
# Ignore ARRAY_SIZE, let `sizeof()` be used to determine array size.
# This makes the code compatible with other compilers / environments.
--ignore ARRAY_SIZE
# Ignore SPLIT_STRING, quoted strings can be split on multiple lines.
--ignore SPLIT_STRING
# Ignore STRCPY, as `strscpy()` is only present in the Linux source.
--ignore STRCPY