mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
0fb4871bcc
As of commit bdc48fa11e
, scripts/checkpatch.pl now has a default line
length warning of 100 characters. The powerpc wrapper script was using
a length of 90 instead of 80 in order to make checkpatch less
restrictive, but now it's making it more restrictive instead.
I think it makes sense to just use the default value now.
Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200828020542.393022-1-ruscur@russell.cc
23 lines
572 B
Bash
Executable File
23 lines
572 B
Bash
Executable File
#!/bin/bash
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
# Copyright 2018, Michael Ellerman, IBM Corporation.
|
|
#
|
|
# Wrapper around checkpatch that uses our preferred settings
|
|
|
|
script_base=$(realpath $(dirname $0))
|
|
|
|
exec $script_base/../../../scripts/checkpatch.pl \
|
|
--subjective \
|
|
--no-summary \
|
|
--show-types \
|
|
--ignore ARCH_INCLUDE_LINUX \
|
|
--ignore BIT_MACRO \
|
|
--ignore COMPARISON_TO_NULL \
|
|
--ignore EMAIL_SUBJECT \
|
|
--ignore FILE_PATH_CHANGES \
|
|
--ignore GLOBAL_INITIALISERS \
|
|
--ignore LINE_SPACING \
|
|
--ignore MULTIPLE_ASSIGNMENTS \
|
|
--ignore DT_SPLIT_BINDING_PATCH \
|
|
$@
|