17cd129b4SMichael Ellerman#!/bin/bash 27cd129b4SMichael Ellerman# SPDX-License-Identifier: GPL-2.0+ 37cd129b4SMichael Ellerman# Copyright 2018, Michael Ellerman, IBM Corporation. 47cd129b4SMichael Ellerman# 57cd129b4SMichael Ellerman# Wrapper around checkpatch that uses our preferred settings 67cd129b4SMichael Ellerman 77cd129b4SMichael Ellermanscript_base=$(realpath $(dirname $0)) 87cd129b4SMichael Ellerman 97cd129b4SMichael Ellermanexec $script_base/../../../scripts/checkpatch.pl \ 107cd129b4SMichael Ellerman --subjective \ 117cd129b4SMichael Ellerman --no-summary \ 127cd129b4SMichael Ellerman --show-types \ 137cd129b4SMichael Ellerman --ignore ARCH_INCLUDE_LINUX \ 147cd129b4SMichael Ellerman --ignore BIT_MACRO \ 157cd129b4SMichael Ellerman --ignore COMPARISON_TO_NULL \ 167cd129b4SMichael Ellerman --ignore EMAIL_SUBJECT \ 177cd129b4SMichael Ellerman --ignore FILE_PATH_CHANGES \ 187cd129b4SMichael Ellerman --ignore GLOBAL_INITIALISERS \ 197cd129b4SMichael Ellerman --ignore LINE_SPACING \ 207cd129b4SMichael Ellerman --ignore MULTIPLE_ASSIGNMENTS \ 21*afa202b6SRussell Currey --ignore DT_SPLIT_BINDING_PATCH \ 227cd129b4SMichael Ellerman $@ 23