summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-01-11 23:33:07 +0100
committerShuah Khan <skhan@linuxfoundation.org>2023-01-12 21:38:04 +0100
commit9fdaca2c1e157dc0a3c0faecf3a6a68e7d8d0c7b (patch)
treee63cf866117abf95beabc3cbfdaa8b3145a21fe7 /tools
parentLinux 6.2-rc1 (diff)
downloadlinux-9fdaca2c1e157dc0a3c0faecf3a6a68e7d8d0c7b.tar.xz
linux-9fdaca2c1e157dc0a3c0faecf3a6a68e7d8d0c7b.zip
kselftest: Fix error message for unconfigured LLVM builds
We are missing a ) when we attempt to complain about not having enough configuration for clang, resulting in the rather inscrutable error: ../lib.mk:23: *** unterminated call to function 'error': missing ')'. Stop. Add the required ) so we print the message we were trying to print. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/lib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/lib.mk b/tools/testing/selftests/lib.mk
index 291144c284fb..f7900e75d230 100644
--- a/tools/testing/selftests/lib.mk
+++ b/tools/testing/selftests/lib.mk
@@ -20,7 +20,7 @@ CLANG_TARGET_FLAGS := $(CLANG_TARGET_FLAGS_$(ARCH))
ifeq ($(CROSS_COMPILE),)
ifeq ($(CLANG_TARGET_FLAGS),)
-$(error Specify CROSS_COMPILE or add '--target=' option to lib.mk
+$(error Specify CROSS_COMPILE or add '--target=' option to lib.mk)
else
CLANG_FLAGS += --target=$(CLANG_TARGET_FLAGS)
endif # CLANG_TARGET_FLAGS