Message ID | 20240624232718.1154427-9-edliaw@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 C4279C41513 for <linux-mm@archiver.kernel.org>; Mon, 24 Jun 2024 23:29:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 53D126B0366; Mon, 24 Jun 2024 19:29:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4EC616B0367; Mon, 24 Jun 2024 19:29:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3653B6B0368; Mon, 24 Jun 2024 19:29:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 126D46B0366 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 19:29:44 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id CC8A614133F for <linux-mm@kvack.org>; Mon, 24 Jun 2024 23:29:43 +0000 (UTC) X-FDA: 82267376646.26.C301BC7 Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.201]) by imf05.hostedemail.com (Postfix) with ESMTP id 0DCEE100011 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 23:29:41 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=bvPEV0Ey; spf=pass (imf05.hostedemail.com: domain of 3ZAF6ZgYKCIkrqyvn9t11tyr.p1zyv07A-zzx8npx.14t@flex--edliaw.bounces.google.com designates 209.85.210.201 as permitted sender) smtp.mailfrom=3ZAF6ZgYKCIkrqyvn9t11tyr.p1zyv07A-zzx8npx.14t@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=1719271763; 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=QrZ+5Kk2oEbgMtgXaDgXkxLOd4phuQ+pRNBukp2bFkg=; b=3EwVgxlbeia9tXVAOyRSoaYnSVfqZcitimqra5L6mJUKPjswvkdk3xlwDh0VM2J4CT+Muy UiteciSweC46Qvjy4EBYq2iUdQ5H+rD+V5oxGwhp2q1hb+UTcPZCq20R7uIWwRJro/RAXJ ehp3dxsp+R7BgC4fpPC9cHGaBZX/Q9U= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=bvPEV0Ey; spf=pass (imf05.hostedemail.com: domain of 3ZAF6ZgYKCIkrqyvn9t11tyr.p1zyv07A-zzx8npx.14t@flex--edliaw.bounces.google.com designates 209.85.210.201 as permitted sender) smtp.mailfrom=3ZAF6ZgYKCIkrqyvn9t11tyr.p1zyv07A-zzx8npx.14t@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1719271763; a=rsa-sha256; cv=none; b=waSkrLc6jIyaEbuhJQXy8VnncuCgff/ZO2hatScdGYcV57rBcYXw0zegmP4XgXaXUzuWfh LJVlm9ibJq9SsVpnaj3UkRkJSib7UOWETBFER+oS5IHmXA/91h52rk4s6ibwUW+4sp5UqW 4rGP/vlkSqG3iYrIwVWa4ND8NdM5ZKw= Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-7065df788f7so2244725b3a.0 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 16:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1719271781; x=1719876581; 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=QrZ+5Kk2oEbgMtgXaDgXkxLOd4phuQ+pRNBukp2bFkg=; b=bvPEV0EykOjzRn07GzDLqAlMnuYNASYdlBs3GX1jMfQd3PaSHK3msYiWwKvWVbvUD/ TccqReAXpU/H0j9+CLgOvww1Do7GkZF2MFxZv+1xDcwA2XMdlDb+kAHJx8UEdlfcHKwM WrEcG2P3MAUsznvux51b9pmwKpkR71GMdrbZaqfovPDzwUTNzrWeY3U7SlWE6PQxjqZm d/4LDHTDawdggnn/Tzlw3XrlQSMa1wXlZvDQAF4S5nz0iQY4F8cv1sFvqFW+Lo8pxEPF 4ya20T8dhxrpzbhRJ6Cb6uVFvsXNshMlMFokgSbWWGmzoTRYSvQM+tjfv9/5a5B4ykbk kAsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719271781; x=1719876581; 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=QrZ+5Kk2oEbgMtgXaDgXkxLOd4phuQ+pRNBukp2bFkg=; b=lFUPlCVTFCkqLA/ov8INyZFAY04AkYXByKZHW4uZgQjyvY/4Q995NWG+ew0uOqPVvb vkqQ66sHTklcyMW2TG6sF8v0dpLQfD2InxV6POVONj+oBs+e8SYKbQA6iI2FQPbffKIs a5XDSbX7LvjV/yzFZB9Ijj7hOxsZN59aeDyjGVrptCnjnD+tDl2LFWkMHP44EeN589gI XbsmxTiM6N8Gnqqe1NS278K0PzaPtwjmyGsNs6KJvsXHt7HkbeSbY2Fu/KB0Vucmd41y OjXNP1zvpk4vtOAwMPZceYVaOMuj/UXv0jRqy0CZwwol0MQm94smrdrVMVPWt11ieBxq b/MA== X-Forwarded-Encrypted: i=1; AJvYcCXHLrwH/qoRWzAClc1dH7QaW8RVmpFpih6njXglmvPFsrJcW8ITomXdz6XzFpm4ENFIeKgAwv5HOxx4exkLMBmSVf8= X-Gm-Message-State: AOJu0Yym9vTW5qlzMzvNBq56qtqumu6RiPPfDaI/AFbGyIN+mKtekcuK YU90jLKIXQ/3IZZCphajyNN2vLs35EQ8BYDf8OIsJcA9Yrgaof1enlsHRucnVMsxHF/bi3Dpb09 nEQ== X-Google-Smtp-Source: AGHT+IHpQrIc85Iwvne/JtUL74k7CtaEnEbXK9UND6RiBewc+A4BXz2SYDvXCOVunV74/hhFEZKy/c23brg= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:4309:b0:705:d750:83dd with SMTP id d2e1a72fcca58-70669e5e132mr244774b3a.0.1719271780764; Mon, 24 Jun 2024 16:29:40 -0700 (PDT) Date: Mon, 24 Jun 2024 23:26:17 +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-9-edliaw@google.com> Subject: [PATCH v6 08/13] selftests/kvm: Drop redundant -D_GNU_SOURCE CFLAGS in Makefile From: Edward Liaw <edliaw@google.com> To: linux-kselftest@vger.kernel.org, Eric Biederman <ebiederm@xmission.com>, Kees Cook <kees@kernel.org>, Shuah Khan <shuah@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Darren Hart <dvhart@infradead.org>, Davidlohr Bueso <dave@stgolabs.net>, " =?utf-8?q?Andr=C3=A9_Almeida?= " <andrealmeid@igalia.com>, Jason Gunthorpe <jgg@ziepe.ca>, Kevin Tian <kevin.tian@intel.com>, Paolo Bonzini <pbonzini@redhat.com>, Andrew Morton <akpm@linux-foundation.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Fenghua Yu <fenghua.yu@intel.com>, Reinette Chatre <reinette.chatre@intel.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Jarkko Sakkinen <jarkko@kernel.org>, Dave Hansen <dave.hansen@linux.intel.com> Cc: linux-kernel@vger.kernel.org, usama.anjum@collabora.com, seanjc@google.com, kernel-team@android.com, Edward Liaw <edliaw@google.com>, 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 Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 0DCEE100011 X-Stat-Signature: ykfxiro3q63syis53qizj71f9zn16hzh X-Rspam-User: X-HE-Tag: 1719271781-91922 X-HE-Meta: U2FsdGVkX1+t296aFB4XrfpXFgupKhaOsi4e4+QbtX1LrQ+CSmdj+Iw+Q4R3YFxbiOadFWISEaON/ilTEpsUy9hdnFocF7lQq094al2r6esaashlYKP9Z90+9TcwHNKx5mdbLRjzL7sUHDcN4tr54XG1ISdsN5TfGy688FOIk5hAGhWU+v5WTglN8EaMysUxAtXW7L1cvIqitsKjRdzfzJFRqJn39jJSCCmqV4qjzvxl3LqHVRUY29CG481CnAgPe6MqRwPMs6BYI+zyuVQusC8KDDWS4OhMw38mKLHhJs/SrabuAmPJjhNnRaiYdlpg689th+YabGrRaLJAZ857y6JPmXSFQiXNsBps46EbguQdXs/IMTVKh0vKVCbNV+pcFDFmE3j8LKGEA3PV12pcpmCdWv7dx2yzkz5/q9HUA+dsglSAPO2byWauFbxAokvMFbm0rBSgpiKaV9decmyREDNutRgg1U8dw0vgJGYF1PSzTcKPTq2qgUL/MCvIJccE7MCjwvik05EKxID+Z++HQt399Fbh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Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Centralize _GNU_SOURCE definition into lib.mk
|
expand
|
diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index ac280dcba996..4ee37abf70ff 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -231,7 +231,7 @@ LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include endif CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \ -Wno-gnu-variable-sized-type-not-at-end -MD -MP -DCONFIG_64BIT \ - -D_GNU_SOURCE -fno-builtin-memcmp -fno-builtin-memcpy \ + -fno-builtin-memcmp -fno-builtin-memcpy \ -fno-builtin-memset -fno-builtin-strnlen \ -fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \ -I$(LINUX_TOOL_ARCH_INCLUDE) -I$(LINUX_HDR_PATH) -Iinclude \
-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 <edliaw@google.com> --- tools/testing/selftests/kvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)