Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3592058pxb; Mon, 21 Feb 2022 01:14:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyESPvyA5iUYPwYSvAkTLOR30niq/qR8D684dGLLEilMJFbcEf9/v4qD+ScMbS442goRuhV X-Received: by 2002:a17:90a:8588:b0:1bc:54b8:c3 with SMTP id m8-20020a17090a858800b001bc54b800c3mr892687pjn.110.1645434879906; Mon, 21 Feb 2022 01:14:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645434879; cv=none; d=google.com; s=arc-20160816; b=cq7c2QdLe/0Hq5QZZR+ociRwCkIrqugKrIsTKV/MhjE2DQ6o4Vx3DhWDCPOelag9tC P5XIeoUZnh3RHwSg3NmkTkFyIpph1rjLW401QOgrURsaZb0HROyHMlQ3Ml2EogEfLtiW RWFJPqNczxwJAqZWlennP6ugeWSS3SQAB+xE+vzJ5rxBd8bJ9KZhPnFT7KkWdM9bIElK 4K/ooMScgJ7ZCLInjJo4bhB9sRtIKP1yBwwStLKssv0jvissHifGEmUdpf8r1koUpM7Y afUHgf3EhW4LKBDsl3G+Txh51ZOCFUod2pT+tn4fzTIuBZKB0NujrQGtjnjqW5LAfZbv h6sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jib0wHT1Fn7YmdxlNUtTSOItLnLm2dINB6PP57pOSIc=; b=fa5HQbQtO/4fvRpU7N3AFcpVzXoTYQtIm3NsRFSh9RuqqRQkj2lqLVL7ESjntWpmR7 8r/yER6B0Mt0g9egy64UXyCVbfdQaY6a0Bm5IrxIY4MXTNyvlw2/hc0NSBzPO/t/kXfb 86FD1T9blsWVrG2FWYpk4E+v+HkcNwb4gEWfkhSljpQ1aC6EQodvKH616lJTp2Mncg+l Q9Uu0u7R2+ajpiib/PSqJUqpemPH8SSOcRhTXih5IVrCqjavVPeiEj+lCvxm994+S2rv /Vd1pCcx/5DiwJSRDQcCqf0Uh3OJ7qZP3RxaJNxx/Zj+wmvQfnU5NJH2Rh2gNQmPFxc6 PPtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=niY8cZEC; 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 g13si10040716pgf.431.2022.02.21.01.14.26; Mon, 21 Feb 2022 01:14:39 -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=niY8cZEC; 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 S244761AbiBTUGY (ORCPT + 99 others); Sun, 20 Feb 2022 15:06:24 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234114AbiBTUGW (ORCPT ); Sun, 20 Feb 2022 15:06:22 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 612DC4B86F; Sun, 20 Feb 2022 12:06:00 -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 EFF3960EC5; Sun, 20 Feb 2022 20:05:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E96D6C340E8; Sun, 20 Feb 2022 20:05:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645387559; bh=2cppNPZpgF4RmbAOVD9rQTVohiAwNWLrRbqbsVsBqCY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=niY8cZECU6OPPbsI/aUzCuTvxDlM4M06j26qCpW1iJvk+u5ZIbu5zG9zBa+fHRz6W iaHf0opGsL/jVGiJLJkGPmAZK8XQrJa2nZQjZmbcbe+KqLZ3PJAP7pDvkx2vUs6XMg h7lYgq7x4D+r2ZMBUYqR+2hSbFbL7T916kkk09wr4GIfdAz1gXOxcpPdkYHFs0vcxM VPbzzWhb02h8+Lnim1LCf8I38zliBKlTulmXJs9DPzOpFimsO1d9214md+/8ivSYwK O8Mxrqhj7oMAn/y87NxFRcVTI2WQPMGuHWhzvjvUFX/4ZgBj75XYBpb0yXu81ve80T 8CGWTIwoPARpA== Date: Sun, 20 Feb 2022 21:06:33 +0100 From: Jarkko Sakkinen To: Muhammad Usama Anjum Cc: Dave Hansen , Shuah Khan , Andy Lutomirski , Borislav Petkov , Jethro Beekman , "open list:INTEL SGX" , "open list:KERNEL SELFTEST FRAMEWORK" , open list , kernel@collabora.com, kernelci@groups.io, "kernelci.org bot" Subject: Re: [PATCH 2/2] selftests: sgx: Treat CC as one argument Message-ID: References: <20220210190642.1477814-1-usama.anjum@collabora.com> <20220210190642.1477814-3-usama.anjum@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220210190642.1477814-3-usama.anjum@collabora.com> 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,T_SCC_BODY_TEXT_LINE 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 Fri, Feb 11, 2022 at 12:06:41AM +0500, Muhammad Usama Anjum wrote: > CC can have multiple sub-strings like "ccache gcc". For check_cc.sh, > CC needs to be treated like one argument. Put double quotes around it to > make CC one string and hence one argument. > > Fixes: 2adcba79e69d ("selftests/x86: Add a selftest for SGX") > Reported-by: "kernelci.org bot" > Signed-off-by: Muhammad Usama Anjum > --- > tools/testing/selftests/sgx/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/sgx/Makefile b/tools/testing/selftests/sgx/Makefile > index 2956584e1e37f..75af864e07b65 100644 > --- a/tools/testing/selftests/sgx/Makefile > +++ b/tools/testing/selftests/sgx/Makefile > @@ -4,7 +4,7 @@ include ../lib.mk > > .PHONY: all clean > > -CAN_BUILD_X86_64 := $(shell ../x86/check_cc.sh $(CC) \ > +CAN_BUILD_X86_64 := $(shell ../x86/check_cc.sh "$(CC)" \ > ../x86/trivial_64bit_program.c) > > ifndef OBJCOPY > -- > 2.30.2 > Tested-by: Jarkko Sakkinen Reviewed-by: Jarkko Sakkinen BR, Jarkko