Message ID | 20240624232718.1154427-11-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 A2516C30658 for <linux-mm@archiver.kernel.org>; Mon, 24 Jun 2024 23:29:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2F2A96B024D; Mon, 24 Jun 2024 19:29:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2A1D66B0254; Mon, 24 Jun 2024 19:29:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0F47C6B024D; Mon, 24 Jun 2024 19:29:55 -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 DD55E6B0196 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 19:29:54 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id A5E04C13B3 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 23:29:54 +0000 (UTC) X-FDA: 82267377108.03.1E5E878 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) by imf28.hostedemail.com (Postfix) with ESMTP id DA170C0005 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 23:29:52 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=cXPdEAp+; spf=pass (imf28.hostedemail.com: domain of 3bwF6ZgYKCJQ2196yK4CC492.0CA96BIL-AA8Jy08.CF4@flex--edliaw.bounces.google.com designates 209.85.215.202 as permitted sender) smtp.mailfrom=3bwF6ZgYKCJQ2196yK4CC492.0CA96BIL-AA8Jy08.CF4@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=1719271786; 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=diaj5tFwwNQVaMCQX5T2JTz4mfzyRWuO7s480xW0M7E=; b=rCeYJLDZurx1oegLJ4dRGf69EnmCocm84J3RwJoiKHv+fIPlk+dSbpunOxtNvqURYeQdbn 9jVBB/P8M8CqXgTYw8exm4H6Vwxy1tBxEGSktkBM0EhA1BRdR3gmx9uk/CI+r50HO8oQeY Lfq0wNBPiQ1z8HesWoaLgDPBTk/uIVA= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=cXPdEAp+; spf=pass (imf28.hostedemail.com: domain of 3bwF6ZgYKCJQ2196yK4CC492.0CA96BIL-AA8Jy08.CF4@flex--edliaw.bounces.google.com designates 209.85.215.202 as permitted sender) smtp.mailfrom=3bwF6ZgYKCJQ2196yK4CC492.0CA96BIL-AA8Jy08.CF4@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1719271786; a=rsa-sha256; cv=none; b=Eub8bWO210XC8mO0Y2dDwEpNeqXnsgHmZmS7fdsMDR0chNZEKgj20u05dIoon28ISXQVWJ ow56MObACMrD5LSBxKx3jrxdYzHSmsbthYzyzzq9A+31vdGWam9LR15Q5sTJGy6n2SVlSl 92g+xYFvaQX7wcxWfhX2EK7InZNTYfo= Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-718c62ad099so3885160a12.3 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 16:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1719271792; x=1719876592; 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=diaj5tFwwNQVaMCQX5T2JTz4mfzyRWuO7s480xW0M7E=; b=cXPdEAp+bMCUWcEUyi3PpfcIE+uIcrVn89fmv4t0uq2MjQjIjt0dzffQ5lHvpp9ard 7+Y6Xap/e24X0tNEtQzDj/o0jWKJT3K+M+nBsl78JJqd8SINSfClAfwoLxfzfhRp3k2T Mn1ucNrPVnLRR6rjHZ5JD6a+SOMRFvtZNfMma8C4Ofa3hybC8zYYGAMR7wWO7WJk11vj IHrC3Rx/kSim27LwYDwviCN+TOxi5ROj7ewOhDXoVyAc/PCE27QN6uuAlKWW4Mz0Lac+ Kx4bOTQ9ktPjP2SxfQPxaqar6dTGqpbqE29FTPVulEF6sAp8yxi5E767wvMdIlxVI2Eh 2pnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719271792; x=1719876592; 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=diaj5tFwwNQVaMCQX5T2JTz4mfzyRWuO7s480xW0M7E=; b=f7YeA2GBizdu6mzW2hxKoCQN36gTc4BTfhQZqKEOPxHFT5oxZFpGJol4PcD1ZjTS/f gM1sDOhD/sSb1KmQ8oQJBiUy0EpAy8Ws+iR54UnOQN6/2mHqCki5i6mP9fazRAG3Id4r vUxCwJ72T/6zG51Wh5+CgzQhmDARjg8lrhcj/L/w0a9aN+Jsleo0WwzSG2s7AITDPVJi PvoPdtxwjanDcqsuyrindqKyU8HyhAadid9cC/kBr5ev7MOM0v8v2O8655ithkn5aSod rVxwF4/nZKHJ7WrhdABT1ceJW1sM1roNxOnqZd68GkCLEYnlHmHdAltAmtkUnjPu2ipQ Ns+g== X-Forwarded-Encrypted: i=1; AJvYcCWRrzsmXbS9xTdc94omhx/L8WbdWQCzNJS3Bgxcp70S5zPLwE4ofLn3VmQHShLmZwJj+gnAgpJ9nNMuMJjtf48eF1U= X-Gm-Message-State: AOJu0YzsG33Y0kdlDCNxTOmFWjhKs9/kg/Hudx1IDB7of5FBwgBobLvV FSGtyOrO3VcAWa6r24heEwGUDOTllLJ+IKFVxy1nMKmMou/7HQ/UIyCpMH53Z//iH+O8kIlWPoi Fhg== X-Google-Smtp-Source: AGHT+IFAHsy2vEbD08I44y0v3BWNlocV2o4z95Fg4teVzqZkoUDKjX2v6KqYVtDHhi51zA7DQs3radXmbQo= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:ea08:b0:1f7:3bb3:abe2 with SMTP id d9443c01a7336-1fa15938adfmr8753425ad.12.1719271791633; Mon, 24 Jun 2024 16:29:51 -0700 (PDT) Date: Mon, 24 Jun 2024 23:26:19 +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-11-edliaw@google.com> Subject: [PATCH v6 10/13] selftests/resctrl: 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-Rspam-User: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: DA170C0005 X-Stat-Signature: 5n53i9kwrtx4gzsx9mrb86kgbwgprk1h X-HE-Tag: 1719271792-245073 X-HE-Meta: U2FsdGVkX1+ekx5t2GWpr4jg6gwZyaC5xG68xE0fIeUb203w4QftWyXAZIj67h6uiof6pPja7TjxUb8q+CR2Bxv17oFNeKGcPA2/V1ezzxLC5mLwK+seDrOOgWXSBl9wFsS9lCuawIRHXN7XasdJ51h4gBDQp/ejj1dUSke94yXSA/7zksHnfeVCNFJRjomgjieGuJlQCt6HalOAJYDPb8WPdAv7+QizJ728z7RGtSDqVl1yamkqzeC9Ew+qGMugaZIx6SjuNp13yhivEfVHQfUoYPxMT3ZSIAV1HTQBpyS7in98DKea2thicSquIzSFTflW88RCC4d9Ixz4u/vTz1LrdG+NP8tqRtRk6rknvKf+q1bPO0bryPuK3FRKIEkL+B7oJooj514iapGf9jk8vLUkY81DSbrtDTm2AlJT0h5FxaEkiq2HyI7Nux4CfAxNN473kcQqprq0sMF6XLQ5BwUoei0GHAaFcJhItcHC/O8wOtXVLCsjOqdJY56o+Y97US8D8n34y+GpVqYE4v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vack.org 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/resctrl/Makefile b/tools/testing/selftests/resctrl/Makefile index 021863f86053..f408bd6bfc3d 100644 --- a/tools/testing/selftests/resctrl/Makefile +++ b/tools/testing/selftests/resctrl/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -CFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE +CFLAGS = -g -Wall -O2 -D_FORTIFY_SOURCE=2 CFLAGS += $(KHDR_INCLUDES) TEST_GEN_PROGS := resctrl_tests
-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/resctrl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)