Michael Ellerman | 7cd129b | 2018-07-25 00:03:46 +1000 | [diff] [blame] | 1 | #!/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 | |
| 7 | script_base=$(realpath $(dirname $0)) |
| 8 | |
| 9 | exec $script_base/../../../scripts/checkpatch.pl \ |
| 10 | --subjective \ |
| 11 | --no-summary \ |
Michael Ellerman | 7cd129b | 2018-07-25 00:03:46 +1000 | [diff] [blame] | 12 | --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 Currey | afa202b | 2018-12-04 16:11:54 +1100 | [diff] [blame] | 21 | --ignore DT_SPLIT_BINDING_PATCH \ |
Michael Ellerman | 7cd129b | 2018-07-25 00:03:46 +1000 | [diff] [blame] | 22 | $@ |