Skip to content

Commit 9534fb1

Browse files
committed
build: sync checkpatch config file
Sync nvme-cli checkpatch configuration with the one in libnvme. There is no point in having different configurations for this. Signed-off-by: Daniel Wagner <wagi@kernel.org>
1 parent 8e167b1 commit 9534fb1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.checkpatch.conf

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1+
# Checkpatch options.
2+
# REF: https://docs.kernel.org/dev-tools/checkpatch.html
3+
4+
# This isn't actually a Linux kernel tree
5+
--no-tree
6+
7+
--max-line-length=120
8+
9+
--ignore EMAIL_SUBJECT
10+
11+
# FILE_PATH_CHANGES reports this kind of message:
12+
# "added, moved or deleted file(s), does MAINTAINERS need updating?"
113
--ignore FILE_PATH_CHANGES
14+
15+
16+
# Commit messages might contain a Gerrit Change-Id.
17+
--ignore GERRIT_CHANGE_ID
18+
19+
# Do not check the format of commit messages, as Gerrit's merge commits do not
20+
# preserve it.
21+
--ignore GIT_COMMIT_ID
22+
23+
# Avoid "Does not appear to be a unified-diff format patch" message
24+
--ignore NOT_UNIFIED_DIFF

0 commit comments

Comments
 (0)