xref: /kernel/linux/linux-5.10/arch/powerpc/tools/checkpatch.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/powerpc/tools/
18c2ecf20Sopenharmony_ci#!/bin/bash
28c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0+
38c2ecf20Sopenharmony_ci# Copyright 2018, Michael Ellerman, IBM Corporation.
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci# Wrapper around checkpatch that uses our preferred settings
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciscript_base=$(realpath $(dirname $0))
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciexec $script_base/../../../scripts/checkpatch.pl \
108c2ecf20Sopenharmony_ci	--subjective \
118c2ecf20Sopenharmony_ci	--no-summary \
128c2ecf20Sopenharmony_ci	--show-types \
138c2ecf20Sopenharmony_ci	--ignore ARCH_INCLUDE_LINUX \
148c2ecf20Sopenharmony_ci	--ignore BIT_MACRO \
158c2ecf20Sopenharmony_ci	--ignore COMPARISON_TO_NULL \
168c2ecf20Sopenharmony_ci	--ignore EMAIL_SUBJECT \
178c2ecf20Sopenharmony_ci	--ignore FILE_PATH_CHANGES \
188c2ecf20Sopenharmony_ci	--ignore GLOBAL_INITIALISERS \
198c2ecf20Sopenharmony_ci	--ignore LINE_SPACING \
208c2ecf20Sopenharmony_ci	--ignore MULTIPLE_ASSIGNMENTS \
218c2ecf20Sopenharmony_ci	--ignore DT_SPLIT_BINDING_PATCH \
228c2ecf20Sopenharmony_ci	$@
23

Indexes created Thu Nov 07 10:32:03 CST 2024