Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10113300rwl; Wed, 11 Jan 2023 14:51:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1iujfEyc5PAux0yLwJ5gXK3jRG5S7jhMOmqvjANSsgk1zYQ/rvp5hKkMrEYNsCsj07b+R X-Received: by 2002:a05:6402:185:b0:499:c294:77af with SMTP id r5-20020a056402018500b00499c29477afmr8937755edv.12.1673477472937; Wed, 11 Jan 2023 14:51:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673477472; cv=none; d=google.com; s=arc-20160816; b=mFQp90u8FQu2323akLctCzVgk49/5/Utc1StvnB+9r/rIkJFgu6dt7YX9SM3Za2hvo vtnAr4Y9nrkiK3RTqnyE2rr6xjl3R89LlPZmYO7nFdgiOdvf3MkCzlN7rydiaKTH9GGK p/7o4dj8110d/LdO+kiuci/np1cdW5nq9eSbdhIXyCMp/evNK83eyOxDd3v7sgdLvLnx OJDYDTTNQNKfOb6LArpoSUxb5zz1ZMVJJaBHHpNA/rtk6UQtwVAEFyMfvimfKQCgj2fG d1HKhIBxeNs2s+WXi/w1wKoYb+GFbZU3MuRZk0+4QvieWEQovcx/XBBCxokhnOGVMtlz zKqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=H1H5Mb+2RuE1WIBU7I5c5Xc6MTrzL9iXIUJqqYGs/VI=; b=wm3sxkK01wZAg4XfcqScT1UUGixABvrpP0xSetKfpg60cKXCUzD6Uq1mjIxZW9s2DQ xxzXMnVPiVmm5ngUiiUyPWl7Z7SXWEiOOVeVdzGm7rIdp3XoD4zdI4DeSqTXmiiZ8It5 Pha7lQL2Y+Lk7SHmPPsO4MdCGvgU3xJDJkkvL2Rg7UAtwi4oBHGlzy7wdMpTpHTnNJlf bYcAvM7laGhL52QVRDQCPCroF2BYoBsYG0f3hqXGd2/Dq0p/7bU82pDwXKLIxj+gL9Wx Imfz+NFa+dddSewZrBYZ3hm6y/u78UHBcJUWZkQ5v8GOS1Am0R6Sua14XRyANgLd0k5g w6ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oPJgwhz0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a056402280200b00493969bd008si19226757ede.121.2023.01.11.14.51.00; Wed, 11 Jan 2023 14:51:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oPJgwhz0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233869AbjAKWdX (ORCPT + 50 others); Wed, 11 Jan 2023 17:33:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231805AbjAKWdV (ORCPT ); Wed, 11 Jan 2023 17:33:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8888BD11C; Wed, 11 Jan 2023 14:33:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1972E61EF3; Wed, 11 Jan 2023 22:33:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB7F8C433F0; Wed, 11 Jan 2023 22:33:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673476398; bh=cMYIhMA2zxGO43WUfgqHShXv2Okf3Of2day+Uq7+BXQ=; h=From:Date:Subject:To:Cc:From; b=oPJgwhz0gnFrLkaL+ouai4816Uv2s37ejSL9ayymTpNong9fKYKV1w4BgHGIbr7gC w/h5mX7w8OtjHPehqxv01mOyv0Thw44POSwidpBVgg3UQw1hSqQHWZcpHj+mbG0Bz2 btXj3eBC6O6dUV5ItceUxIVT9jymKobLzWSOPJlJ9xt87HqS42qOohfJocoPfbOV4M n9+sr+eyYZUUgSO81AIvqS0G5D1xnioRsno/z7aUvtBX8ZIS5dAcE3hxowaSKRZAuD dMo86L1lpg+kHtUaaEInVX9If+sgCiPmCmJedT+FyG7WjrXX6tUqBgPBaV+Pngl5WW yrTuXvaTyNGZw== From: Mark Brown Date: Wed, 11 Jan 2023 22:33:07 +0000 Subject: [PATCH] kselftest: Fix error message for unconfigured LLVM builds MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230111-kselftest-lib-clang-fix-v1-1-58ebadd0e090@kernel.org> X-B4-Tracking: v=1; b=H4sIACQ5v2MC/x2NywqDQAxFf0WybsBxwD5+pXSRmcYaHMaSiC2I/ 97Y5bmcw93AWIUNbs0GyquYzNUhnBrII9UXozydoWu72IYQcDIuw8K2YJGEubiDg3zxco19onju mQJ4ncgYk1LN49F/Zp2O+a3s9v/w/tj3Hw5gP7SAAAAA To: Shuah Khan , Nathan Chancellor , Nick Desaulniers , Tom Rix Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Mark Brown X-Mailer: b4 0.12-dev-8b3d1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1178; i=broonie@kernel.org; h=from:subject:message-id; bh=cMYIhMA2zxGO43WUfgqHShXv2Okf3Of2day+Uq7+BXQ=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBjvzkrotrBVIkaVDxOa6bB0s5cjfgAogfLz04suxwz 4m+iipCJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY785KwAKCRAk1otyXVSH0N/rB/ 9aDmiSZjVeSL2hj2TiROL1YAtz8J2C7iaKljVL4Eloy5lw0Ih1Mza5FG2OdxduCfgK8A992Lm4gE1o QWkD5wPR7+pxYROF5WAGYlfJ8HOZSZ82SHDwaUhs1GLq6qXXnkA37PPkfFOFDQuXwMCNuwiMKP3jW4 8Barfkc1cLrWJX7xDNSi6rWjnedVCZFFycJWn8S4GDyKvcpMnaMbJgulPtm1KWKirHi9QjIg3ytsls rZpEhcnY7d+3dc8Qf5TG1Y9PMLw4ynxZneNVbVrlDLz2rE01KDQVHzp5/6FiQy/WDTFs5u8HXurpG7 HsPpJbNfLDl89B1lI9dqbOEMa6CKRx X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- tools/testing/selftests/lib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 --- base-commit: b7bfaa761d760e72a969d116517eaa12e404c262 change-id: 20230111-kselftest-lib-clang-fix-8936ba376ea1 Best regards, -- Mark Brown