Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp82826lqo; Thu, 9 May 2024 13:20:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZG3nUlpxdsAA3jwOrUC3yIdbdlNqjHs/JQDNPo5PY4aV/4bpE22HMphg9arnlFrK7dn7yIjKUwiLf5iZ8lHQkjgXzQUfmxc2vxnqymQ== X-Google-Smtp-Source: AGHT+IE9OziOsj1uEv9TlJOLsdESdGUC5uQplQ5noofU7Y4h6ZdkLn+6WF82Kf4PbaXn3jidx73W X-Received: by 2002:a50:d496:0:b0:572:5f8c:42 with SMTP id 4fb4d7f45d1cf-5734d44fa97mr513099a12.0.1715286038059; Thu, 09 May 2024 13:20:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286038; cv=pass; d=google.com; s=arc-20160816; b=sV/UjuV5h5J/jIq7aFTkJJt/2WJwokcVYXD+GS0xXGh5B8vlUIWYnFsnHyloR1Z0hm VbfvUByUQux6WblsHYtfFqZ++nUhfMzG0eRP+mADqakDYsCoGU9/LbyZ1Wk+YPFutYx2 UQBxaT/l3NcdyYD0hY6OLbzjxQO4wJ3Ew7gekcJlTYU+sIfHspAjR5YPqrjpa6KuO377 b64mmqLm1d4NmgBZiDySwapy9//rQyb3furQdEq4mFaYRTk/sxLIVwBLLPuXfkhXrVdu lCKfGVoB84vondbGcXqMHeD5xbOSfVjCnp0E1ufQLk7Ak58WXiTrJF/TNSqAhQUJI2Ux V7zA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=oiy7DTv1aGKmws/cPGkTZCbrHaB1ocI0/bjdksGN1y4=; fh=QnKSFC+UdIhKsEvoF5vcqXDd/4TzW/oiVevhdoHU0Tk=; b=RmrlQGw9s1fXtePLf4jyvdD8EDwaOPEHaArZNkAbWV3HhhDJSaINaQfxftPBOeL+5A HN/7uCEGz/hdn+zCkUcZcJZqUdVJaqIlnGvLFHUZxyEs+RJwzcdqIkPWElJ0eGN+ai6A 9TrH4dTXvyGdG2puKBzEjCk1iw5pSuI3thynThIgg2YUi8b/RD2h2qzYSmJTlrJWNgMj 55mjLo43yjPzCDMedEtOwL7W1zqZUy9JpTu1ZQpertXQCAYwoYtrPfsgxR/3vRd5QHKt j0JTPWBvbhp0ak639f2iq3YK6waMbLeJS7XEQya7nQPKcMyDksmOJsxZpzrVX1Dh8hDX IzoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=RmwdionV; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-174897-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174897-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733bec19dbsi1092589a12.176.2024.05.09.13.20.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:20:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174897-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=RmwdionV; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-174897-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174897-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B65591F25207 for ; Thu, 9 May 2024 20:19:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00B4A143741; Thu, 9 May 2024 20:03:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="RmwdionV" Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.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 BA2A21411EE for ; Thu, 9 May 2024 20:03:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284998; cv=none; b=qlCXQuwC0IFGSUxdNnv+PjdqgZL2emuXb3bNGo+wzoQ/yKGBuhoig1j9zTXKQmBwZOn4Z1kZuVRZ2Le+lyJQf8D7gAJUHWezhAa0l1xFDGiWtfuE42cFE6eJkQqtkWBtP9oV9ebTLv5PmNVRicp/ZlqrTA9vSG6uErejatWJV2M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284998; c=relaxed/simple; bh=5eCs2dGnvyXJyHpHcW99rKbYfAt3cSCAPK72Lv3waNU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ErHUPR3Xi/WQ2eArp8BNz0UgZvlbxkCaRFBdsEIHQR1/f6NSwmBoDJ1YHzmrnnFdmG/jNYdNYDGKTgbbcXqNpkaAmpSi3qaIP5QADZmaWYnQCz1Pcu+EE5hYoaYxrmYeXIPOFITXZusO/7lzs6urOXVGbExoXQnwnDZhpHGXqH0= 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=RmwdionV; arc=none smtp.client-ip=209.85.210.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 Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-6f474d5a8dfso889181b3a.2 for ; Thu, 09 May 2024 13:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284996; x=1715889796; 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=oiy7DTv1aGKmws/cPGkTZCbrHaB1ocI0/bjdksGN1y4=; b=RmwdionVv+lFDdu+RyCiQO9pHTCDcpsKoCMy/Hm4k/KSBu265s17AubvIt1b4FHP+E hBrHCt4GUddE1rzxZMhYrBI63XQW7/NFsoSnuCxOncp44vi8Q56oIGH6IYkNYJjyr65P JIKXXiGR2ARHR3NmCoW3KWOzWwlMNMbNeezpnRUruSAm1s7GMCuLb7vclVgZYDwZO3hr EAQZDdTbwVSdgd6t1WBFU8yz5yJlvA8925kaGbnDyZ5X0CiEja230arE8/dFqBKZw4Nq vnPEzjPCnL4qsW2BfsGnAJXqp1gFYEGQJnA6cDgX1Qu8T4YvvSAdD3Cngedwll6ekYnK rWSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284996; x=1715889796; 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=oiy7DTv1aGKmws/cPGkTZCbrHaB1ocI0/bjdksGN1y4=; b=ZCmHYvn+j71rdNAwPXj+0Hz8jI4llgjC3P/+QYTUyvh/beS8lJgyC0LPkCCzxt6ztp i+eZhzHygilphZKcNZZCyqyKhIBsZjp9mk22bdvqIl5B3UFOYzI55l/Wo/fCFMN8n1EE 0FEhCuTFXiIThxoIkfWCXwl+47I9kV7Ui+fH6Nv+GvbRrZL/WPksUl3AuA2Cb8xdGXuH Ut5JqCicV8stIDwscWoCGA1Adc73sV/cj3bM12UCyyCu9ZIkxcDTiZ95ceroKDewWjfq 7KNNd7Bv6hNWho1+cjOcvRPM6H2vFOg9kNIghEzd57rCBM0ToDvhd/bl062Q1c0sfDxQ jQbA== X-Gm-Message-State: AOJu0Ywawx7++eku3jqrQnZP4ctBMw/LIxWEmi68QJYX9h44zp/XskZt uCasgn5drST+MRrXPCQldWGKZKmM1yC/uwIlrTAXd2dK7kg3h0wbnjiea6cZzFwRNJ8SeJ7FLJe 8Iw== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:3d54:b0:6ec:f406:ab4b with SMTP id d2e1a72fcca58-6f4e03a195cmr28293b3a.4.1715284996043; Thu, 09 May 2024 13:03:16 -0700 (PDT) Date: Thu, 9 May 2024 19:58:42 +0000 In-Reply-To: <20240509200022.253089-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-51-edliaw@google.com> Subject: [PATCH v3 50/68] selftests/resctrl: Drop duplicate -D_GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, "=?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?=" , "=?UTF-8?q?G=C3=BCnther=20Noack?=" , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Fenghua Yu , Reinette Chatre Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw , linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, John Hubbard , Muhammad Usama Anjum Content-Type: text/plain; charset="UTF-8" -D_GNU_SOURCE can be de-duplicated here, as it is added by lib.mk. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/resctrl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.0.118.g7fe29c98d7-goog