Message ID | 20240624232718.1154427-10-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 85D301B47B8 for <linux-kselftest@vger.kernel.org>; Mon, 24 Jun 2024 23:29:47 +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=1719271788; cv=none; b=DeGiXLDX6ibxN86NV6HcMQs5XBBmckVAGjSC8Wetfv45PbTpDOB7C5yRY1kRoLTNFiqfL9aXSjE6Z0jCc5YKAA/IH19aUukmbgqi02m0MTnXIcDQF5LcfdR8BJTrA9B+INKmGRmMOGnOHjvbNoypocQsNuhhen9sLOJwpdH/RSc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719271788; c=relaxed/simple; bh=7x4LoDZgR5E/QVoS9cmfJRmJxj+4a44E8Ep8Vb6AuSU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=JCtjwvYCjadLhkr+U9lBnjAc2Wzlxfy39McBkSqSgrIln5gjLXQmiKw52wtI5UEt3dHo4pctI5VfuCFA0ZIpuyArjF+QXyo4KlxBGfL9YqeNqLchSdNlomRKKuw47MBAoaxIMALgp+NPLyQvRZChUSqJXJOsSuVzr0jLdbREc5s= 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=fglUzOGv; 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="fglUzOGv" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-71b1231febdso3695434a12.1 for <linux-kselftest@vger.kernel.org>; Mon, 24 Jun 2024 16:29:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1719271787; x=1719876587; 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=rJFiGCZar+q63pIILXV1m5S/VTx8srfmbdTO812oVXc=; b=fglUzOGvNYajlX9qo4AgCZRI7/8nLv6yxfWNlaJ+GFds7jF8D9y3xTpRUY3h/5r1I/ u3Y/vVf8usrSAYfLVY/yXVmk11/b8rXVx61NLQf2T26mztRFAauLjbQJBQ0rx9nsHuZQ LiK8gwtpCNObGJ/xvsj4U7uQNrzvaDTu4qg7T2hg1Doq07aflcbcPcSGVnfCFLqPQDqd UxxxX5L5oZ88EJlV73RtGdbXH8/VAIq0A+Fhs8YQIfOHs7gpJzI3O0iUaK0tEYonzTdO ijutgw5cEp1O1Ezp812J7FnAc0p8cCVvPqIeBzChqG6ukRfCHEzlzWVdMNnpeoPN7Paz EAQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719271787; x=1719876587; 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=rJFiGCZar+q63pIILXV1m5S/VTx8srfmbdTO812oVXc=; b=jUtx5AP+lV2fV7PXMriou5wo5eWlhWQyf+ZFmmo3qlXNQidAiQrqNvfUly70/unOR4 puPXYBt9c1d8k79Adbo1I9d/cO2v+OyP0xom4HA7NT2+pinBtggPMB4xVOczCCysrage Ztp7l/19PkLqPzMgaPI68yCczy0i4YFdQ+4SWEFNiCHzqhjh42ZuwxUi5drEMUXl6c/l Enb6Ckgo5x18iJtAjju4Nsh9ATHE41oNPZeKWWOXDG5d6Img6g/V/pJEaoS9EBz1Qwr/ 6CtIlvwKCC0dCgK7n4GpEXnEXRi/BAMm7SXOQMA9IaKlHJa5cylzEsvMaGmi4lU43vAP gYdw== X-Gm-Message-State: AOJu0Yz4bwwLUNGYAeK4aYdGsr6GHyalNPezQHOJkFS4bJhEamUrA8KU BufHD+IwCatOqTKfrRj+a4sQL8ppPB2+ggz+hiCOAFP/zI38zPZaVSOZi5HT1jp96alys7nJCDe PokWHxAXh7WkHXnVJAk9v62WPFZtCkdDYAh3syhWg+IKue69ZtGstYBn/Q/bwV1hkp2ExQmC34t 7cfzh91sAGLVo48/PdRW8vQym/gYrWDN3EYZFydQztqdkP X-Google-Smtp-Source: AGHT+IHZaXS4lSce/uBBUIpFuXCH7I0BpPEaAf3VbI7ppnPDWzJgDOW4eIq57gPJilnwaCJeffaGJD+7rCQ= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:6dc1:0:b0:6c0:3f:cd46 with SMTP id 41be03b00d2f7-71b5b395b46mr19980a12.2.1719271786190; Mon, 24 Jun 2024 16:29:46 -0700 (PDT) Date: Mon, 24 Jun 2024 23:26:18 +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-10-edliaw@google.com> Subject: [PATCH v6 09/13] selftests/proc: 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/proc/Makefile b/tools/testing/selftests/proc/Makefile index 6066f607f758..ee424a9f075f 100644 --- a/tools/testing/selftests/proc/Makefile +++ b/tools/testing/selftests/proc/Makefile @@ -1,6 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only CFLAGS += -Wall -O2 -Wno-unused-function -CFLAGS += -D_GNU_SOURCE LDFLAGS += -pthread TEST_GEN_PROGS :=
-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/proc/Makefile | 1 - 1 file changed, 1 deletion(-)