Skip to content

Commit 9fdaca2

Browse files
broonieshuahkh
authored andcommitted
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>
1 parent 1b929c0 commit 9fdaca2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/lib.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CLANG_TARGET_FLAGS := $(CLANG_TARGET_FLAGS_$(ARCH))
2020

2121
ifeq ($(CROSS_COMPILE),)
2222
ifeq ($(CLANG_TARGET_FLAGS),)
23-
$(error Specify CROSS_COMPILE or add '--target=' option to lib.mk
23+
$(error Specify CROSS_COMPILE or add '--target=' option to lib.mk)
2424
else
2525
CLANG_FLAGS += --target=$(CLANG_TARGET_FLAGS)
2626
endif # CLANG_TARGET_FLAGS

0 commit comments

Comments
 (0)