-
Notifications
You must be signed in to change notification settings - Fork 713
Expand file tree
/
Copy path.checkpatch.conf
More file actions
35 lines (26 loc) · 1 KB
/
.checkpatch.conf
File metadata and controls
35 lines (26 loc) · 1 KB
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
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This file is part of nvme.
# Copyright (c) 2026 SUSE LLC
#
# Authors: Daniel Wagner <[email protected]>
# Checkpatch options.
# REF: https://docs.kernel.org/dev-tools/checkpatch.html
# This isn't actually a Linux kernel tree
--no-tree
--max-line-length=80
--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
# compiler-attributes.h defines __unused via __attribute__((__unused__)).
# checkpatch prefers __always_unused/__maybe_unused but those are kernel
# macros not available in userspace — this file IS their definition.
--ignore PREFER_DEFINED_ATTRIBUTE_MACRO