xref: /kernel/linux/linux-6.6/arch/powerpc/tools/checkpatch.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/powerpc/tools/
162306a36Sopenharmony_ci#!/bin/bash
262306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0+
362306a36Sopenharmony_ci# Copyright 2018, Michael Ellerman, IBM Corporation.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci# Wrapper around checkpatch that uses our preferred settings
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciscript_base=$(realpath $(dirname $0))
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciexec $script_base/../../../scripts/checkpatch.pl \
1062306a36Sopenharmony_ci	--subjective \
1162306a36Sopenharmony_ci	--no-summary \
1262306a36Sopenharmony_ci	--show-types \
1362306a36Sopenharmony_ci	--ignore ARCH_INCLUDE_LINUX \
1462306a36Sopenharmony_ci	--ignore BIT_MACRO \
1562306a36Sopenharmony_ci	--ignore COMPARISON_TO_NULL \
1662306a36Sopenharmony_ci	--ignore EMAIL_SUBJECT \
1762306a36Sopenharmony_ci	--ignore FILE_PATH_CHANGES \
1862306a36Sopenharmony_ci	--ignore GLOBAL_INITIALISERS \
1962306a36Sopenharmony_ci	--ignore LINE_SPACING \
2062306a36Sopenharmony_ci	--ignore MULTIPLE_ASSIGNMENTS \
2162306a36Sopenharmony_ci	--ignore DT_SPLIT_BINDING_PATCH \
2262306a36Sopenharmony_ci	$@
23

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