Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10187322rwl; Wed, 11 Jan 2023 16:05:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXu+k9+il7QFEwMx7716seTdXWC2CmLIRHD9dqBykhNFS5PW3vdk/uDtbb5LzxgZrUL2i6mh X-Received: by 2002:a17:907:2c6c:b0:828:7581:f01f with SMTP id ib12-20020a1709072c6c00b008287581f01fmr56045858ejc.23.1673481956523; Wed, 11 Jan 2023 16:05:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673481956; cv=none; d=google.com; s=arc-20160816; b=nKCs0+1+vpr+Fb/6qc6ByKKy7eDovWMtddmDZNiKjc9Y/XrW5SwUDCYReCzReuCR8P k7LV/TdRRfdlzCWYE69MfU4cSEPeARP2qVgMv7CSlrXmjiY9R9miaDQHrNPf+9AeVnQM dQLBJMAml0Vs0lHUS5/lRmSzqYF5LohBtHM0HfKoelTm7rPrs0x/r5xAJD6XasXp3xGR kJPRrzjTsM6ltD3chZJt4hmHpN3z86WwiRV6MYqHVn81dKoUc7mMJ5sl4EDPQlRYs46I ZK2VjyBJ7DNklBtFXnJGC3HmBiqw8wVUZQaOlmO681ZtnxaFl2L0ZRZY4lvV0jG6RUwS pZew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=82kiV6CT5bY5UwtwlTr9ODnHbyHvh43Y6iajviNHDb0=; b=Fgw0CIAV33rIHl/Kk6ntzfcqeMQf8gBbsfI1yGJ5Y6l3B9s81Nltt5Z6k221d0JUqj Z3oznf9eygNafe4Bzd3V3tZv+lausbJG+LkPm1fbzbYQeh+E7xX0psnW1piHbspFxzw+ 8CWccerfVnJPdsDfTlVfLeiiFwOU6OWGDoQOTNphJ/QtemxVG4e3LFNXgMWJ2/FxEFMn p+gU+JZnxXUKVFljEATPjMbEAVFOFBhppXLaDMsBo6nhOWMyDK1ronXSUlxfZN+rYy8z eSxNlZq9tnySeBBSz0YXR786AQ3Ow3BtIHOisZas4m8i1HwbZCQY2sCNbupl/mzijEKg ZeRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=UK3+wgm0; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xc2-20020a170907074200b0084bbb86a74fsi17841379ejb.540.2023.01.11.16.05.44; Wed, 11 Jan 2023 16:05:56 -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=@linuxfoundation.org header.s=google header.b=UK3+wgm0; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235735AbjAKXU2 (ORCPT + 50 others); Wed, 11 Jan 2023 18:20:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235088AbjAKXU0 (ORCPT ); Wed, 11 Jan 2023 18:20:26 -0500 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8C783C0C2 for ; Wed, 11 Jan 2023 15:20:24 -0800 (PST) Received: by mail-il1-x12c.google.com with SMTP id f8so2557771ilj.5 for ; Wed, 11 Jan 2023 15:20:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=82kiV6CT5bY5UwtwlTr9ODnHbyHvh43Y6iajviNHDb0=; b=UK3+wgm0lc1kST8z65QsZby2afptNaWNJYkOuEoueXtIuX2G0iMseEJHi0TKnpIQr9 e2j5juB2iNKYpJhoIC92JD3m9g8VASmQaBmhTBnt/btuVwsQZUrX6h6u9NgWeUQjKQ+6 XxJuIs8E2gVmO3IdIF+mDiyJw3JH10HGhHlRc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=82kiV6CT5bY5UwtwlTr9ODnHbyHvh43Y6iajviNHDb0=; b=HkOnDOvB9MiSDEWDNJnEJmuCj5POUqVu1r9oJrA1aJZMAq2nOohMeoM9p7/Uzt0OBL v1jtY6H/zyzy5FaA9ExU5oNGR7PaEsNZb4b1DfPPZAfPxKj0SYV2GvfAMJafJvK1jCOT rr7xFo3SJst5GcXAco6eiTryoebNEd3FTSbqhnzWHjA7FEj5H0Slj3vqOYynpzyfpjF2 74pOu25PWxK9hmT0JMF0QpUu0w30JgNFRXVAfckVZo37IgZIYmIGRWll2BeptTAhKfu8 cmOj2nfdyL9zO77TDQ71m6MmBMtzeXE3ERYfdFLacMivfkGgG4Ajm8YK3KJFYo45027M 275Q== X-Gm-Message-State: AFqh2krFbuW2ufD9kHkQJ9sW9s4Pg7KBA7k9Wt7SqXuwGWgqiFepXa5S M8DbYFcDBe31Vb+yckBRnzS3cw== X-Received: by 2002:a92:b703:0:b0:30c:1dda:42dd with SMTP id k3-20020a92b703000000b0030c1dda42ddmr6991828ili.1.1673479223936; Wed, 11 Jan 2023 15:20:23 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id g20-20020a92c7d4000000b0030c661606eesm4877810ilk.63.2023.01.11.15.20.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Jan 2023 15:20:23 -0800 (PST) Message-ID: <6d3602fd-fdf8-d6f6-56f7-d70eb2d381d8@linuxfoundation.org> Date: Wed, 11 Jan 2023 16:20:22 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH] kselftest: Fix error message for unconfigured LLVM builds To: Mark Brown , Shuah Khan , Nathan Chancellor , Nick Desaulniers , Tom Rix Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Shuah Khan References: <20230111-kselftest-lib-clang-fix-v1-1-58ebadd0e090@kernel.org> Content-Language: en-US From: Shuah Khan In-Reply-To: <20230111-kselftest-lib-clang-fix-v1-1-58ebadd0e090@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 On 1/11/23 15:33, Mark Brown wrote: > 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, Thank you. I will queue this up for the next rc. thanks, -- Shuah