Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3056270pxb; Thu, 10 Feb 2022 11:11:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxidVOnQR/2aE77+hpjprp028/eZwDgEhJcfXVX46PhKLGuw+zJebQ83A2TvKKnGYI8BkJw X-Received: by 2002:a17:906:a002:: with SMTP id p2mr7852506ejy.129.1644520283447; Thu, 10 Feb 2022 11:11:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644520283; cv=none; d=google.com; s=arc-20160816; b=E05ssHjXwZqLOdSONYQ+aIypKWCy/hlAaIGx637Wtdr+OP0k03Au6DYx+24myLLZHB e77UkQVoD+RQJbFBBzVmP4J7+2sKD5dhBFi2yLPzZmk174RylHofkskxMEFb9kRgSFVd ZM7aVja+rd+i7rBj+VsFLrlXGPrrfWMeei7cbjudKUEqt47EjALhsX2OmdAQtTmzS+07 TGscOnUxPW/+0pJMthGPsbp5k8MzoUQ06lN8nLjehcJjQnzy7x3UZsgtI9sZ9AvB0H7b NH9/xp/9SEb7/IwOU+foLKu0eZw3NssKSknE1v4+I7pX7/yrDIbxqcgvJXKS+s6cmj2q f0Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hlEwOTSZLC0HL04NohLGSywOgUH+bqKdDIkp3xTy4DE=; b=vfzP36Yokgd74r2uXygpmi5vBQLZFosQ3cLTsw2E6zvU1R1aENDbH6pYT6Rz9crwqq 2ty8kM3tt3uBt9xusU1KIFReE7/W/XCTXP8X0Rr5SFxftiX1ETahNU+2jPJAhVYBK2c2 Vk06N3pbfzxM/QaLrEiSAKCn6gBygTFbhKaTGSa1J8UwBV8ncDt8e6uPPr/ivGvfzLkI hnS9OF20p75hYUavDwCGzhw6J09NtXH/dQ/2M9Ri5vTOGBJhH7Ja7AsVH4isf+ZQVeyK ejd/uYNrG7Sly82vLZmaouzLg0w4hCZBo0CfcTL1hCblFG4o3ksDk6N+pQ4kwrHWgBnK xMjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=GYZY6rCW; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q23si15279619ejr.317.2022.02.10.11.10.58; Thu, 10 Feb 2022 11:11:23 -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=@collabora.com header.s=mail header.b=GYZY6rCW; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343703AbiBJTIN (ORCPT + 99 others); Thu, 10 Feb 2022 14:08:13 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236382AbiBJTIL (ORCPT ); Thu, 10 Feb 2022 14:08:11 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DEC310C2; Thu, 10 Feb 2022 11:08:12 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: usama.anjum) with ESMTPSA id B11E41F4676F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1644520090; bh=w9UAj95XKnPRibc1brD+qtkacXLhUZfQCGbpzMCMPok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GYZY6rCWfCZBE+0886mH7m5RHGsBgmuNXnM5VnWqvgNdLQDcK5h3uxUfaAcVH6QjD C+mNZVYBuHH/xWOccwOZl6OoQc6yUo/rkR7UbBEEKrZ6rr5QU8QKfTsXmzXvJqhf9l 28yi9/hrMIhV7BPMCUOiNGHA0yK0Bpl1OClyRGAK1D9l84LEXzuIoPOcsZvutxRvcU Fss8S0OzQYcMYB5S8+PL7l3BTJ7NMzdoMRyjygJc20jiycTb0Mui8qcVkTU/SlvxWv 7UbJA1Zo9oyDQLyyZNuIXX6L1wTGc2E6s0RwKWzQnsvMso98hAl84AaFqXZbUV+3+i 7a2kOqE6x86jw== From: Muhammad Usama Anjum To: Jarkko Sakkinen , Dave Hansen , Shuah Khan , Andy Lutomirski , Borislav Petkov , Jethro Beekman , linux-sgx@vger.kernel.org (open list:INTEL SGX), linux-kselftest@vger.kernel.org (open list:KERNEL SELFTEST FRAMEWORK), linux-kernel@vger.kernel.org (open list) Cc: Muhammad Usama Anjum , kernel@collabora.com, kernelci@groups.io, "kernelci.org bot" Subject: [PATCH 2/2] selftests: sgx: Treat CC as one argument Date: Fri, 11 Feb 2022 00:06:41 +0500 Message-Id: <20220210190642.1477814-3-usama.anjum@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220210190642.1477814-1-usama.anjum@collabora.com> References: <20220210190642.1477814-1-usama.anjum@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 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