2 # SPDX-License-Identifier: GPL-2.0+
3 # Copyright 2018, Michael Ellerman, IBM Corporation.
5 # Wrapper around checkpatch that uses our preferred settings
7 script_base
=$
(realpath $
(dirname $0))
9 exec $script_base/..
/..
/..
/scripts
/checkpatch.pl \
13 --ignore ARCH_INCLUDE_LINUX \
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 \
21 --ignore DT_SPLIT_BINDING_PATCH \