From patchwork Fri May 7 16:25:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 12244937 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4FAEC433B4 for ; Fri, 7 May 2021 16:29:37 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 09F6C6024A for ; Fri, 7 May 2021 16:29:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 09F6C6024A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=qhw36zp9LwN2rJY1SufyUDsLClk5wbSs3hrrx+IdjLc=; b=q5zYdNKExdoErEg3xR3InWeDpx D/p74DVh/D8/5d67RbDqvSZVAxwLJYNDKqFyvjbSrrOlg+AdAvgMVMOUW39CfjnVhQn5nDxdJwgg/ INEPCQvP4OvcvoVPeq5FhvinnmqwuYDf1++5J3elQzZeUD7k1GVqUVZ/Bh2ZfoA40MxHTyzWCX6kT LJvlxGojwnyJTult6/yYnMK1d+Ol46m0Xu5uC2KZOhQHRiZ9nrz3zqXhtM0QgRZdagtF+S5upIMVC 7gVQQtPRNX/kuLntlZWFdb02tNDsnfOAtrm1kvcF/ZAkGuFYq9zQxmo/xJll+0k7GSxtJWR102T73 NYcxDjJQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lf3Kc-007YFd-Ii; Fri, 07 May 2021 16:28:02 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lf3Ka-007YFI-Tn for linux-arm-kernel@desiato.infradead.org; Fri, 07 May 2021 16:28:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=qa6DiQSU1+chrm1JaJalOWgS2vam3VT4t3ZSg6EZLto=; b=GJZSaDchPidd0TBzPHKtBfuwsl XEu/vRr7dHt1ZR2v61gMLzx0dTwXkHJaQTKADFwZTQ3tVXYYR1/W3VlD4ymhrjbySwHhNsEqd52Jw cJmimhvZYrmsw+J9JESMVLMmxKMHaIrsquosJIKIPurlp15vaUcMxm8Xij5ByrJNpZ3jKz1jcYq/Y Y/nRU8oUduTvrEbW+ZVHwE1so/+kQs2OWXaDH4tBHQmcbT9GK3GGwbiAAayEN8e1XuxZZP0KuVCqS USscDd4U9qmUjBK63qX5xmh3XiWK42EITRB4zh4tk631b0uEHCn02pu+PS8WQXcLB0asoBG8n/D47 /tUWDKig==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lf3KY-0070Ez-Dm for linux-arm-kernel@lists.infradead.org; Fri, 07 May 2021 16:27:59 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 431046144F; Fri, 7 May 2021 16:27:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620404877; bh=REJqg1qmerOA6xM2S/Usce+IfSnkSoFTT7GLQSzUHDQ=; h=From:To:Cc:Subject:Date:From; b=h/8xdMJU55n9fB+GVn0WNMV/YsFg30CITx+PGvQ7ET+Aaqz5CPi3bh1dq/Q/1Idrj TzjwmMoHgWIvSJo4vdaAZDEIO35F0hv7pD4DnitJ4Tro9dQml66D9XMHiF9ORIa7V6 q65EGimaaakr1lSRXhzYgBo7O9kgvEAkSw02dxuLAoWXSrsqWAUsZA4MVGB9CCyon4 amml+T0jw0kRAOGbK+sQjE2CjzEht8B68kDNCkegYZUF09BYjov718wklF4MEPXS8c yyxSe/AuDgeOixs+OmOnKQ/KK507j3xaWg8oH8cm9/MytEPEDtlozgMS3HOSfmA6iw idqC3E9V//yQQ== From: Mark Brown To: Catalin Marinas , Will Deacon , Shuah Khan Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Mark Brown Subject: [PATCH] kselftest/arm64: Add missing stddef.h include to BTI tests Date: Fri, 7 May 2021 17:25:42 +0100 Message-Id: <20210507162542.23149-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Patch-Hashes: v=1; h=sha256; i=tNwPEhIm1HRME5IVKyaCqC9DfDsvT/iTsijMJWpIfic=; m=W4vhnkryA0sQApJwzE3QMdBuNUFTrQKaqaGjQU1Q8x8=; p=mvWMt0niUw+nSHbTu29m+7/mDB4yF+ZBiZ0BdcqDy30=; g=e596d82f6e5648149eb861dd5656a07f45f1ecc0 X-Patch-Sig: m=pgp; i=broonie@kernel.org; s=0xC3F436CA30F5D8EB; b=iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmCVadcACgkQJNaLcl1Uh9D58wf/Wvz F/9k2Ifls3Y5BjJXhHBbXceXaQ/xXyVSrV5w3gGgFNmntXmOaXe3YQqwjPdEbChpv9FoTAFJVaHkx dDzwcKFwZz5KmsdboyKUtpj5tD4zmYSpreESd6Bx4y/U//nC+cMJh2Y5dmflp3gDD6Lxrrp65C0SY xZFg/QP/yn7DqvBybvTE6lYQrdSmFUvv19zcpewuXLYhUFNC9wBzLdx9XJfLRGe1qtxg8RCEUEhSf AzAeZl3cTRc5wVmAj3pQacRzMYOCQxX0ByaOSuQ4sDqEYFMit8ZgCwQA7OD6IWaehBtR/Ah7DMmYh BTya9rbAOa33jCQyktAa9LBpqHDAuFw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210507_092758_533785_15D01DA9 X-CRM114-Status: GOOD ( 11.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Explicitly include stddef.h when building the BTI tests so that we have a definition of NULL, with at least some toolchains this is not done implicitly by anything else: test.c: In function ‘start’: test.c:214:25: error: ‘NULL’ undeclared (first use in this function) 214 | sigaction(SIGILL, &sa, NULL); | ^~~~ test.c:20:1: note: ‘NULL’ is defined in header ‘’; did you forget to ‘#include ’? Signed-off-by: Mark Brown --- tools/testing/selftests/arm64/bti/test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/arm64/bti/test.c b/tools/testing/selftests/arm64/bti/test.c index 656b04976ccc..67b77ab83c20 100644 --- a/tools/testing/selftests/arm64/bti/test.c +++ b/tools/testing/selftests/arm64/bti/test.c @@ -6,6 +6,7 @@ #include "system.h" +#include #include #include #include