From patchwork Mon Feb 14 18:41:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muhammad Usama Anjum X-Patchwork-Id: 542900 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF4DCC4332F for ; Mon, 14 Feb 2022 18:42:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236471AbiBNSmq (ORCPT ); Mon, 14 Feb 2022 13:42:46 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:55258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235969AbiBNSmp (ORCPT ); Mon, 14 Feb 2022 13:42:45 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 070EB6A03A; Mon, 14 Feb 2022 10:42:30 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: usama.anjum) with ESMTPSA id 933581F42D84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1644864140; bh=w9UAj95XKnPRibc1brD+qtkacXLhUZfQCGbpzMCMPok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nEyFlAL4xdt6WUN1sUPYXMSk5v2VNbDhrWDjlOy1PIaBfiFd+2ayg2yqwf7rWIiQR XOMbdLVetye+DhWZLEaJX/bgTO58ynwTgpkuLXulIktOk2IfQhJ3QQ5ztsd8xUBbz+ uB8OaVhLvbWrjMGwvJtRfd2oqMPWstchn7AC8wklCK6jTOwgAhOpT2VMiHNckDyxY3 nItAcySVf+2NL84xTPXkAYY6uCPeWvIBJChkey3ia5UylEatqS2Y1PfZsJRQKkQlJd CVKP25/jyNBCxe6m/Li5mMfQ35lqnV/0fkwiq4fZth4Kjy4MAqm63go6bn2u/5cteZ zbdHTyqEZh10w== From: Muhammad Usama Anjum To: Jarkko Sakkinen , Dave Hansen , Shuah Khan , Andy Lutomirski , Jethro Beekman , Borislav Petkov , 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), David.Laight@ACULAB.COM Cc: Muhammad Usama Anjum , kernel@collabora.com, kernelci@groups.io, "kernelci.org bot" Subject: [PATCH V2 2/2] selftests: sgx: Treat CC as one argument Date: Mon, 14 Feb 2022 23:41:09 +0500 Message-Id: <20220214184109.3739179-3-usama.anjum@collabora.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220214184109.3739179-1-usama.anjum@collabora.com> References: <20220214184109.3739179-1-usama.anjum@collabora.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@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