Message ID | 20240522005913.3540131-49-edliaw@google.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show
Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 9543E155314 for <linux-security-module@vger.kernel.org>; Wed, 22 May 2024 01:01:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339717; cv=none; b=n54z7ocqIldsLtaMxlaex/+FlYeZ+uAWqG7j9VWjS6/AiT5xg9lMILcqVl65hIOcVFiVWY33KGDuogWhNVzCnnmWgrXDMd7WOmuYoRucEuEwfN19mkI7O7oVEV56TXCXe6ssf/U4h668mA1Skc28bLxYad3GNJUe7CXpmxXqMkY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339717; c=relaxed/simple; bh=fBXBkXghEjNTtFe0F4ADNoBJuC5etV2XYfV9uhnigmE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=pwsNrgixbpUdT2Aaz7BiRr+TEefB4SyGYTTNrNI0idqTi8p+Vh2qFcEvkj/sGbX8UBeafUU4JtMFdcDPCkZFptunW/ZnDsT8URm3RX+GHt3qh/oE/uSuwl+rdGqwYwreuxt0b9ZwLIJZ688pqib4MthBpnjjjMPNl/CMHReoK28= 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=tFz58pCS; arc=none smtp.client-ip=209.85.128.202 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="tFz58pCS" Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-61b1200cc92so236524417b3.0 for <linux-security-module@vger.kernel.org>; Tue, 21 May 2024 18:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339714; x=1716944514; 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=tX+C4G2dO430Dq5NwbbjDA2nRzbu4A2cHamlSsJi84o=; b=tFz58pCSR7AeVGRCYdVEa8hPfg8oap8Vq0N3lDbCt0qlNEDjUFH3l3nIdGq4K0JKgc CztzaFYtRWKIZA93x3KHmJL7p51oDBCQE3vb53yKzpgNdAzXfyneJXvJT0Rr74llpnft SWniS3Wt9YDat7aKBFlmqUCQgGEZdQb3WAlYqIMdoYqGFF1SQD8xHAbCXryk9bpCtkqS PS4iEKY9HKEulQ7YCK2ug+UiTOHC/RaYvaPNYHK24ohrHq2btX93gAY1gj1SiQNeVLGl OI/p4F90abY+u28xgBFNmJHkZUJ/8GZ7K54+tEcdFjDqc4+FtdbMpEiRte/NWatq5W9R 6Nrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339714; x=1716944514; 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=tX+C4G2dO430Dq5NwbbjDA2nRzbu4A2cHamlSsJi84o=; b=Uswms3xYOKCWCrOwcX5Rywbsar90PJCKoSa5E7ZYEi1/Ql9BLn5PWnID/QiZwBaZ6N ZdRccLtI29NeFgSSzDVQQizzr4Pr0dI/eaXoxhBAEVTauUtGaAtI8tCjAQgMe6Y5s0fv kSA+Ins+EC3Km4UvyQZqRaNwUYc1JiAeE97Hmkj1s3tBthBKeTvGX/Rb83YcZmVbrWpJ wenT3M+1bUBz6LGqoI5ujgYWKlG8rO1r6Y05ZLWRqcL9RTV57qQ8PF4Eag1dVGNKQN0v u4rqCq6r0O61nbVjiEjR1FssEbyZAMX0nNITVdgBLxUxM1RkMIS735c5cOZd3SQ2N2wT 8d8Q== X-Forwarded-Encrypted: i=1; AJvYcCVjRghun1o2xjvUJDerfmuVopru7Bj83aNJg1ZUN2dPgVq++G8spb/bJgUgnDQoyJdKV4zpxOMDdmKYtSuN9DLx+TRMXn5rZP1DiWGaOiGeFPTN9X5K X-Gm-Message-State: AOJu0YwT3JQYoMQBSJ7CaSR0Z6mtTVfNRWM1MqlB9DrgyceeHMibGA8s H676IzYsLdi0tKjkXQp1rG0/s7KH/DXFtEhUEk8XsnXbept3Jk6a1b/54/TSCvuIdh/Mdqn1OOi P8Q== X-Google-Smtp-Source: AGHT+IERd30jv/R2KSgTCg5YZ7ZV2lL0yhmpeb+wESJAYpGBxJBI9/AsRI4az9GMtDgAdquzLZrkmDgFCkE= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a0d:d80d:0:b0:622:c964:a590 with SMTP id 00721157ae682-627e46d40c7mr1748647b3.1.1716339714682; Tue, 21 May 2024 18:01:54 -0700 (PDT) Date: Wed, 22 May 2024 00:57:34 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-security-module@vger.kernel.org List-Id: <linux-security-module.vger.kernel.org> List-Subscribe: <mailto:linux-security-module+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-security-module+unsubscribe@vger.kernel.org> Mime-Version: 1.0 References: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-49-edliaw@google.com> Subject: [PATCH v5 48/68] selftests/resctrl: Drop duplicate -D_GNU_SOURCE From: Edward Liaw <edliaw@google.com> To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " <mic@digikod.net>, " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " <gnoack@google.com>, Christian Brauner <brauner@kernel.org>, Richard Cochran <richardcochran@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Jesper Dangaard Brouer <hawk@kernel.org>, John Fastabend <john.fastabend@gmail.com>, Fenghua Yu <fenghua.yu@intel.com>, Reinette Chatre <reinette.chatre@intel.com> Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw <edliaw@google.com>, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, John Hubbard <jhubbard@nvidia.com>, Muhammad Usama Anjum <usama.anjum@collabora.com> Content-Type: text/plain; charset="UTF-8" |
Series |
Define _GNU_SOURCE for sources using
|
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