From patchwork Mon Jun 24 23:26:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13710278 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 196ADC2BD09 for ; Mon, 24 Jun 2024 23:29:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9A8126B0297; Mon, 24 Jun 2024 19:29:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 956D16B02A3; Mon, 24 Jun 2024 19:29:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7AAE16B02A2; Mon, 24 Jun 2024 19:29:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 577756B0297 for ; Mon, 24 Jun 2024 19:29:21 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 1498A41365 for ; Mon, 24 Jun 2024 23:29:21 +0000 (UTC) X-FDA: 82267375722.28.06D9E4F Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) by imf26.hostedemail.com (Postfix) with ESMTP id 4A42B140012 for ; Mon, 24 Jun 2024 23:29:19 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=RsKmFjbC; spf=pass (imf26.hostedemail.com: domain of 3TQF6ZgYKCHIUTbYQmWeeWbU.SecbYdkn-ccalQSa.ehW@flex--edliaw.bounces.google.com designates 209.85.215.202 as permitted sender) smtp.mailfrom=3TQF6ZgYKCHIUTbYQmWeeWbU.SecbYdkn-ccalQSa.ehW@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1719271748; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=FdSDNYLWJB5rZ7zGFIgNmO8T8+rT5KpGbZz7pQfLV3k=; b=uRi2pHgd5tgb3iH4TQCjv56ckkLZ/7qmrTZswjmwJd1irsNTffnNj0apP3Cq0ce4kfabwG G1mT2ewepKqYz24KzlH7SyqFmUph2WfB35P3Wk/f3qXTqo83WLwIZk1UxYjkV6VC7hSPFI Hps1vJIo8dfdUbLS00OdnSOTTXqhFTQ= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=RsKmFjbC; spf=pass (imf26.hostedemail.com: domain of 3TQF6ZgYKCHIUTbYQmWeeWbU.SecbYdkn-ccalQSa.ehW@flex--edliaw.bounces.google.com designates 209.85.215.202 as permitted sender) smtp.mailfrom=3TQF6ZgYKCHIUTbYQmWeeWbU.SecbYdkn-ccalQSa.ehW@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1719271748; a=rsa-sha256; cv=none; b=ACKdPYFuwaswVpbhqMg6X23PpwUMfeB0WfdiyNhTVc7HuFqagF+Drpzl99ldc27kv+ioFU rQPxGths2ALIYVs6o22WCgXKhOMRXzAvG/Gp9gym+rBbvdy5DKCCnW5XskakNUHP9Tm5Lk SRD99/+4PNSMC7ObyjLLc3RXPMzzTfQ= Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-71a56a55252so4511948a12.3 for ; Mon, 24 Jun 2024 16:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1719271758; x=1719876558; darn=kvack.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=FdSDNYLWJB5rZ7zGFIgNmO8T8+rT5KpGbZz7pQfLV3k=; b=RsKmFjbCNAQ3iVXhtUSQf/xc3vUue0J2Rgq+eYpGYlXgEsigZXESjbjjvNxiSkTs3+ KtNT9mOmQtqaJeIFftex9w3F6vj2B7bQ1RHJf+PBEbfgIJN9VPNvcUYWI2z1i7bdnOZv JiGV+4JMNrg9duyr0v9C4bnpxU/YC49KZYn0lOmvgW0249KfLw6Rec6d2p4zvo8vrPBF kscJAUJcVjRov1lYukCLz8aqIXZWuMvGiHKn/efUagN3Q85jGRr7FEcFRhvoKVtNdN5E 2/pamRAp3PmgtzsZy4hLixsPxWsC2TImbV6h1XeJDkpoEuInABoaAEs0Y0ki/P2pLDwu AB5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719271758; x=1719876558; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FdSDNYLWJB5rZ7zGFIgNmO8T8+rT5KpGbZz7pQfLV3k=; b=hcxc5opRLQmh2EvGAf1xgPoJkufn74EmbRa9wtcA5Gbqg5lJSPdKRTfn17yL5GNujJ l4HH31clxUzrnk0Y4aA/D/ppxm2Yzt0v2Z75nqvAJk1upUyXW6okx07g/2LShoxGKlPN wJH5Kp8Wu6mF5g2pBj3vwswurOlTZ3ztRSoYQYB/bAQq9+W9QDGaNKxmXXhmw4dFQJHy 5ePAqR1xhfONU5ym6T85ub+T4znDTnsLh53Ca8MwADYohrTQdvVYkMBytMDDvZ1VhSpD VAr8/cojRqtN2kHdDdQZt/e4N1ila6MaRCJfj+7HR5eFX/BWxPJZZbSt7U9TBLDF56T8 MupQ== X-Forwarded-Encrypted: i=1; AJvYcCWM9CR/tvkvv2YDfZOe/y/sghaX20ss8OpJE1jJvWOlTEQyH56vLKO3VTs4SgAAG2Xk+smo3aNgpKh+zFm9eJ5rQEs= X-Gm-Message-State: AOJu0Yw6kKcj44PAYmfs78Cv0PnHk2VCkzGhuu4pYKigAT0nnWShLXmt Zwnmn8LvUvR8pN1nVpMStq5/d7zxFdqsB1SUXL604RWv+2CE80heZmOrvMCTzjYcA6rXlnVw2jb 4zQ== X-Google-Smtp-Source: AGHT+IGHwhaq3SpDsE/oDwZF6fJSdoqdJu1qur3CUdYhennVxCDTZQrp6vr5HFtn29b7yImBHRAcKRn1tcs= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:3d43:0:b0:71a:1f6f:1d0f with SMTP id 41be03b00d2f7-71b5c3db10amr17532a12.6.1719271757877; Mon, 24 Jun 2024 16:29:17 -0700 (PDT) Date: Mon, 24 Jun 2024 23:26:13 +0000 In-Reply-To: <20240624232718.1154427-1-edliaw@google.com> Mime-Version: 1.0 References: <20240624232718.1154427-1-edliaw@google.com> X-Mailer: git-send-email 2.45.2.741.gdbec12cfda-goog Message-ID: <20240624232718.1154427-5-edliaw@google.com> Subject: [PATCH v6 04/13] selftests/exec: Drop redundant -D_GNU_SOURCE CFLAGS in Makefile From: Edward Liaw To: linux-kselftest@vger.kernel.org, Eric Biederman , Kees Cook , Shuah Khan , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , " =?utf-8?q?Andr=C3=A9_Almeida?= " , Jason Gunthorpe , Kevin Tian , Paolo Bonzini , Andrew Morton , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Fenghua Yu , Reinette Chatre , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jarkko Sakkinen , Dave Hansen Cc: linux-kernel@vger.kernel.org, usama.anjum@collabora.com, seanjc@google.com, kernel-team@android.com, Edward Liaw , linux-mm@kvack.org, iommu@lists.linux.dev, kvm@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sgx@vger.kernel.org X-Stat-Signature: zkzndjz7xba74qnmd3uxh1t14cyhpukr X-Rspam-User: X-Rspamd-Queue-Id: 4A42B140012 X-Rspamd-Server: rspam02 X-HE-Tag: 1719271759-961338 X-HE-Meta: U2FsdGVkX19qBe1Ops3ugRoLwzQ+R4COZfSu+bqn5xnRfYOl2RqSTSSqLnRlmxz0I71bayyz/1D93afyljF1Cfhfk/VeHoqBAQ5WqZfYMZqEbquMHOT/cpa21NASXB5deT+D5v1ylhH6v78G09thMhWESBTrMHABxYprLWzM8qWJOwWUbG4476q7EM5a3wCOm4NYoEzALcS1MaGGkAVLXWQor0WyjmieZSR/HtzrX+s2kRzGMuVtqYxNvibsENj3Cp0XMzUqoXcrqT+R3PUqd9is/br7oExU9UbxbR9cIsZvrSEC+RSDN6VRD9U0IlxcCIBfs8ypdfmHc0wtyN/DDNdHl7NM0t5YYh4DTm9KzCS2N80LD9FxTeis61Bk/4D7p4D8VWCrF074ksJfhY7X8go0LNMFYdhFhbz2wYtdQ+iG3uf4aFQYxSSDsTInif5AihpI7tVrLykHU8yQRvQV4jwVwDYboocu+iPy76hHzoE3uqUkvpxHhIAQlb8ZFAD93/TkQ6jicBMSgJ+JVzGNe7S1XhC+rpsqL6xR+qO/6ORlWeU54i/eI1ODTlH799OAfyn2RzQSogsXoAJmcAWyeaFGBeyc4mqIAcP53w7T2IBFu08dFHmceGUxHPpy/muoMWxG0b9IfrX2vMpceBtoGClx8R9hJDffA91Erq7AMoRp91oZ1kHWi6g291dr6BMDlX4L7LQAcTvhS3+YFsuf3xaLzxZceu8eOgiRMxTu0DgUTVH9UbT2Nqi+NqquAVksfAyUChSMtn1qTVDEu234xKvv6DzDOyyPtUA5daZqsIl2PeaX7v14k13ARxfkNkBH9BKC1vM+hiQChP6bNl2Hq6C28GKfUz4CZNjf8pNBVo4rfvgGifhrgaQnoIISnzUPF6FgWcg7x2rHhXuwZmvmwPWtbXLMug0Y8ZeufwktpRAd9CzL7sBfjXL0diZ6WXGTYeN//4Z1OKU0VZPemrf Oryh3JGs sRaKy1vrOUpuPh58Oa6qw7jKGVzT/LBLz5ThNKH/OF2ICi7yw6b12ETLGryYzb8siJcID93Tk15c3lhkQI58tVWNftCufMflr0shgjawSJrjj4ySQV9DkSNjjlLS1ttyDBi+JAEvLivTKVQA+1xlCZ+j+hgmcGUdvW/BwFSJVZ9eBaV9T5+y5I3IGeU4ZEBDHznwo4+LGQNuSpqgrx+lUUlHQRSUmKk8CckfAQIb9r7c/XWkd+u2W7RGK+oC40twdwAnqi0Xz89WSMHdzYql0YGiM4TsCgHRDcyHK3Iz4P1YxBnTdKpK43kdotfNy2FmFOKLk7Qm5N2Mu1dmYw+KOx+PGUd8kd+Qi3+APmWVuaoEQx6NjFuRRisWVU0HPxMymai24ucf9ish3/k6ioS7kM6iExTtgTnH5zq+Csoz8U/WPEpYMP3MVQOpm6dHwvIqD+zIkzafGMISV6PMTin3KNX0lqc4EjHuuUiXpea4O/kzN+LacpUqxRwZdkQgKx5D+GYdMyq/MPmq7jO/kwd5o964qbfUfS+y9Kv1uu8LH3dUlCZyJeDmLnAOi7w== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000283, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: -D_GNU_SOURCE= will be provided by lib.mk CFLAGS, so -D_GNU_SOURCE should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/exec/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/exec/Makefile b/tools/testing/selftests/exec/Makefile index ab67d58cfab7..ba012bc5aab9 100644 --- a/tools/testing/selftests/exec/Makefile +++ b/tools/testing/selftests/exec/Makefile @@ -1,7 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 CFLAGS = -Wall CFLAGS += -Wno-nonnull -CFLAGS += -D_GNU_SOURCE ALIGNS := 0x1000 0x200000 0x1000000 ALIGN_PIES := $(patsubst %,load_address.%,$(ALIGNS))