aboutsummaryrefslogtreecommitdiff
path: root/util/lint/lint-stable-010-asm-syntax
blob: e1ce948f0202c11c60064df1e452297fbb3a3e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env sh
#
# SPDX-License-Identifier: GPL-2.0-only

# DESCR: Check that we use a single assembler syntax

LINTDIR="$(
  cd -- "$(dirname "$0")" > /dev/null 2>&1 || return
  pwd -P
)"

# shellcheck source=helper_functions.sh
. "${LINTDIR}/helper_functions.sh"

${GREP_FILES} -n "\.\(att\|intel\)_syntax\>" | grep -v '\.patch:'