blob: 91c04802ec31febec5f4d44c1bf0b3eb694d9bab [file] [log] [blame]
Michael Ellerman7cd129b2018-07-25 00:03:46 +10001#!/bin/bash
2# SPDX-License-Identifier: GPL-2.0+
3# Copyright 2018, Michael Ellerman, IBM Corporation.
4#
5# Wrapper around checkpatch that uses our preferred settings
6
7script_base=$(realpath $(dirname $0))
8
9exec $script_base/../../../scripts/checkpatch.pl \
10 --subjective \
11 --no-summary \
Michael Ellerman7cd129b2018-07-25 00:03:46 +100012 --show-types \
13 --ignore ARCH_INCLUDE_LINUX \
14 --ignore BIT_MACRO \
15 --ignore COMPARISON_TO_NULL \
16 --ignore EMAIL_SUBJECT \
17 --ignore FILE_PATH_CHANGES \
18 --ignore GLOBAL_INITIALISERS \
19 --ignore LINE_SPACING \
20 --ignore MULTIPLE_ASSIGNMENTS \
Russell Curreyafa202b2018-12-04 16:11:54 +110021 --ignore DT_SPLIT_BINDING_PATCH \
Michael Ellerman7cd129b2018-07-25 00:03:46 +100022 $@