blob: 28ccc0dbb951763f34c8df1eafde4d2fc66df346 (
plain)
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
|
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Not Linux, so don't expect a Linux tree.
--no-tree
# Ignore aspects we don't follow here.
--ignore SPLIT_STRING
--ignore GIT_COMMIT_ID
--ignore C99_COMMENT_TOLERANCE
--ignore VSPRINTF_POINTER_EXTENSION
# Shorter KConfig descriptions are OK.
--min-conf-desc-length=2
# Zephyr has a function named "printk" with different facilities than
# the printk in the Linux kernel this check is made for.
--ignore PRINTK_WITHOUT_KERN_LEVEL
# Zephyr coding style requires braces even when not explicitly
# required (unlike the Linux kernel). In the interest of making code
# easier to upstream into the Zephyr tree, we should do the same.
# Tell checkpatch to ignore Linux style here.
--ignore BRACES
|