Skip to content

Commit

Permalink
build: sync checkpatch config file
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
igaw committed Feb 10, 2025
1 parent 8e167b1 commit 9534fb1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .checkpatch.conf
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
# Checkpatch options.
# REF: https://docs.kernel.org/dev-tools/checkpatch.html

# This isn't actually a Linux kernel tree
--no-tree

--max-line-length=120

--ignore EMAIL_SUBJECT

# FILE_PATH_CHANGES reports this kind of message:
# "added, moved or deleted file(s), does MAINTAINERS need updating?"
--ignore FILE_PATH_CHANGES


# Commit messages might contain a Gerrit Change-Id.
--ignore GERRIT_CHANGE_ID

# Do not check the format of commit messages, as Gerrit's merge commits do not
# preserve it.
--ignore GIT_COMMIT_ID

# Avoid "Does not appear to be a unified-diff format patch" message
--ignore NOT_UNIFIED_DIFF

0 comments on commit 9534fb1

Please sign in to comment.