Message ID | 20240624232718.1154427-11-edliaw@google.com |
---|---|
State | New |
Headers | show
Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC5E31B9AD5 for <linux-kselftest@vger.kernel.org>; Mon, 24 Jun 2024 23:29:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719271794; cv=none; b=IJZgiMLpkovzRzh/2Zh/g2X2aI7HVxdFoDEM0SX07d+sQyYgjZ2EIAPe4vPxhXXueSAOA1eA1p8qfKJVjVf6WIabA0wDuuCwdep/45/Em7YXCbvp7+e+MiekjE8lg3U2eF+NrBpOON061C+RM5dWFNsmvqfDfPq0LV55OXsUxHw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719271794; c=relaxed/simple; bh=zjwLmup1M2qfYddBQWwqHOLkKVhU9xZCCBONsOyNtQo=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=YjKHHsmmDZTfyk3Q2D2dAoxF/nGCMSaaDn38wrq0UP9Vvf5k56Ul15Hb/6o3pmrLhV8bXss1VPqnRUQB5urAx1d0dCYi0KrdPPJE3mIWNyfvjcRJw3mv4iDjehr7t+C6MzLf1OKWTJ1+xUuvQe3eSLPRzftrulaYxWOo/TWUTQY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=WcazQxU0; arc=none smtp.client-ip=209.85.215.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="WcazQxU0" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-704d99cb97aso5870402a12.0 for <linux-kselftest@vger.kernel.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=vger.kernel.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=WcazQxU04XQfOtJQUiCxu4cjEtNueaIZyEVV0zgReea7GvZv6iR7oSBKjpMcagoYUy oatWcjj8GL8Ybm6pflFjQGrvoLDC4710bXh0YRvg5sa86NoZ/H/YE0EVutyz1bcMftMk YoCZQUKG+7CdwMoC5i+83sSqecYXaHUUjuF+g8lVOLH6faq+fW+9ejqIP5t9az4hOdQA REPYGokWUvzELv30l9cJJzYUvbennfdCuQ+5n2kzp+TnrNzGhA+2pQqtGNx3WPXLsldh 9Zau5hPS69enRL0fL43aEkuohXFGQCOr2eyFGvGzU71eGTRyGW4ARClYS10QK3oUPWGO 9xDg== 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=tXQX6hrQkBRfA5T4F6oDgYo4p0Opn0hW7E3cPY8cYEc30wiAnRCBs8hcFBdvwqVA5C 0JgRTRVXqsh153cwkguda/4+x48r4JHSxF+0HZGdO0YdcFIsozi0OxX+cVneHytJchRk XALybRMigz7Lj3F9Bp5Y+2FZXeKuOfAJGg5nIeqYXyziqF9WhgBKcaO82oAbUpEj6c25 eM5T2Jr3SJ9ZbIUEPAhTlS8J1WnBZR+v2hfn/gzyQq8RmUa+4KZUVGOdpxjAK/ncpqfI CfwLj3wm7jW/IBUEZWvHwhRlEiFiGjRryZCpPmZkZkoJC+ZtLE1Be6fSHD1AK6D49ytu HEwQ== X-Gm-Message-State: AOJu0YxD4DYFBTMlEderwjLeuq4w/3QdBVPhfkvH4CvynsOTxm12vD1v hKdNJObXOCi19VTlpsHr/a0V/Xwr71BAA5t2Fqckrin3enC314Q2obzxpNQayYLx5Y0cWg/xQPR f978WL87TWEybY/KEKVBwZs3rjHydSyVA7ZdOOTkJFp2AMgM2w3gkWQHX7FBGwnxWwXkVnPf1Mh K7W3VJ2xpUHipZ6pHjE7mJoZcHN5jPRrplJOyxDZ4etxP3 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> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: <linux-kselftest.vger.kernel.org> List-Subscribe: <mailto:linux-kselftest+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kselftest+unsubscribe@vger.kernel.org> 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" |
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(-)