summaryrefslogtreecommitdiff
path: root/scripts/check-function-names.sh
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-26 12:04:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-26 12:04:04 +0100
commitdbd91d4f55ac4917b0b7f48b02eb8539805d0c85 (patch)
treee518b35ed82874fd4b2f8edfb7e6da6c0995fe40 /scripts/check-function-names.sh
parentec833566da57811d9fa3f11745e7153d9155ad66 (diff)
parent63804fed149a6750ffd28610c5c1c98cce6bd377 (diff)
Merge 6.19-rc7 into char-misc-next
We need the char/misc/iio fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/check-function-names.sh')
-rwxr-xr-xscripts/check-function-names.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-function-names.sh b/scripts/check-function-names.sh
index 410042591cfc..08071133e5a5 100755
--- a/scripts/check-function-names.sh
+++ b/scripts/check-function-names.sh
@@ -13,7 +13,7 @@ if [ ! -f "$objfile" ]; then
exit 1
fi
-bad_symbols=$(nm "$objfile" | awk '$2 ~ /^[TtWw]$/ {print $3}' | grep -E '^(startup|exit|split|unlikely|hot|unknown)(\.|$)')
+bad_symbols=$(${NM:-nm} "$objfile" | awk '$2 ~ /^[TtWw]$/ {print $3}' | grep -E '^(startup|exit|split|unlikely|hot|unknown)(\.|$)')
if [ -n "$bad_symbols" ]; then
echo "$bad_symbols" | while read -r sym; do