diff options
Diffstat (limited to '.checkpatch.conf')
-rw-r--r-- | .checkpatch.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf new file mode 100644 index 0000000..32625b5 --- /dev/null +++ b/.checkpatch.conf @@ -0,0 +1,16 @@ +# libsamsung-ipc is not Linux. Make checkpatch.pl to not expect a Linux tree. +--no-tree + +# libsamsung-ipc doesn't have SPDX tags, and we would need to do some research +# to find out if using SPDX in libsamsung-ipc is a good thing or not. +--ignore SPDX_LICENSE_TAG + +# Linux introduced shortcuts for compiler attributes in the following commit: +# 82ddcb040570 [PATCH] extend the set of "__attribute__" shortcut macros +# We might want to do the same later on, but for now we'll just ignore the +# warnings until we implement that. +--ignore PREFER_ALIGNED +--ignore PREFER_PACKED +--ignore PREFER_PRINTF +--ignore PREFER_SCANF +--ignore PREFER_SECTION |