blob: 3ce5c093b19db2ca3c2a0411f03d15b0b5a39fb1 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001#!/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 \
12 --max-line-length=90 \
13 --show-types \
14 --ignore ARCH_INCLUDE_LINUX \
15 --ignore BIT_MACRO \
16 --ignore COMPARISON_TO_NULL \
17 --ignore EMAIL_SUBJECT \
18 --ignore FILE_PATH_CHANGES \
19 --ignore GLOBAL_INITIALISERS \
20 --ignore LINE_SPACING \
21 --ignore MULTIPLE_ASSIGNMENTS \
David Brazdil0f672f62019-12-10 10:32:29 +000022 --ignore DT_SPLIT_BINDING_PATCH \
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000023 $@