Kbuild fix for today's linux-next

From: Masahiro Yamada
Date: Sun Mar 28 2021 - 19:28:52 EST


Hi Stephen,

I noticed Clang build breakage for kbuild/for-next.

Please apply the following, or use the old branch
for kbuild tree.

Thanks.




diff --git a/scripts/as-version.sh b/scripts/as-version.sh
index 11f1e7b24bff..8b9410e329df 100755
--- a/scripts/as-version.sh
+++ b/scripts/as-version.sh
@@ -45,7 +45,7 @@ orig_args="$@"
# Get the first line of the --version output.
IFS='
'
-set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler /dev/null -o
/dev/null 2>&1)
+set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler /dev/null -o
/dev/null 2>/dev/null)

# Split the line on spaces.
IFS=' '


--
Best Regards
Masahiro Yamada