From patchwork Fri May 10 00:06:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660521 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.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 F189612B16A for ; Fri, 10 May 2024 00:10:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299805; cv=none; b=XHjdE7zCzzODjVGiX3dSmrdvB72bbWPrWW2Mw8O09sDKweNf5/lLdXMz8xQKF0tH+3cdu9Mck0dEfL2k8DNikQBhzIjL+GrmIKtVFCZb3e9Z6Ed3gkyPP/f+oLBidbHkIgG/gi3SU0qvT6m0djzxdyz1zcTGOhNzhHEJUeF0bYk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299805; c=relaxed/simple; bh=VGsCQqHe1ICNXcu6Xm0RUTfwKrG6XqF3VyhcVP10zHU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ITBKlfV8jgE1hcqEMdegH5U0sbdBExZWeSLvGvEJl8z+OYuZcmwIN8Ow395rxUE8zI6AdVH298MMS2SqD8Weq0C9F3COGNSWlz3vG4uwr+QjuFXzhpI561ou0ktZLzt2IAHFNiR/xbdz3ITuEYk11ls6xT6ryXf9Cpmjy3N3flo= 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=bTyEcJaq; arc=none smtp.client-ip=209.85.215.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="bTyEcJaq" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-61dc66c4989so1396755a12.0 for ; Thu, 09 May 2024 17:10:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299803; x=1715904603; 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=29EvGICOAZ0F1vgmDohmB/AvF71KDeoXeGxlYusrQjw=; b=bTyEcJaqKkbeFmvMpIjnUdQiZzatL6hXadqCE1RfXyOJwaJQxKL5TYx06ZeqGYliuf 4tMwYCpuQ44qL1UrLdD5aZkr5XNWcVk5X9IAq039Dm4p6sN9LioVFwcDeVJ27i3indCJ Y7rKsBsFXC83QQYSbY+m+TpCsnNO0E0S40B/GQxdMR7nshuwKplPk5P9E7aQOiFCNkWg IbSXxK9Wkjg9i8xHAilMEBkJo/o70QmP0FG2wC2lqy1MCLXYH4RVv+W7rIZdTtjtX7kY +vFSIGsvu84EIJwhJcJcloTw0X7fQsnAvxtX45R4BJo7+oLgoie4Gu6CkwVZ4D+LIUa/ EbJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299803; x=1715904603; 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=29EvGICOAZ0F1vgmDohmB/AvF71KDeoXeGxlYusrQjw=; b=Jhee+MfTHB8jKSi3GWBqz+iv6GpJ6hao2By8rC6L3Z1zMK+Piq/42YAAfbdn9DBWDv Ws76ilcPUBk9yXZkDVEUO9+ZWMztO192IFlFPTUP2m0slNEEfqdxpPw7Ya50ySTtA+jO sXtz6r8FfGLEiY3fnkYUjQsHEXCF7hXTWopoSCWT9p0b/8BeVOKtjLE47oizfu/JVg7f coxc6vLHIJKrPvhjmLYbpen/ts+4fY1jWRg1B6iHAqjqoB0SxEySVAloAiaG0QYUjL2E v+VkemzPRwluPRj9BxXt4TRHsAC13JEKI36e5VlTnw9GoLzmBhM7xdOjX0UzRlboySfR 8Avw== X-Forwarded-Encrypted: i=1; AJvYcCVexRocsBrCm+VtmQIVFPtpduW7ciHlQGaGdw1wY05ZAtiaEqwnQ6lug1W4XcGuJfwu9oEmCAzdevUbZeOjCy99ynqmavR9mfMJjohDCW6l X-Gm-Message-State: AOJu0YxzL3MB9I4Jr2yVJdXNa+xHzGAcbYbNMpoJTktI8WXgv7XB3P/L XOxjyDw7mwNT9DVPI5gpVKW0sMZwTehwkSNe/IY6OUGV8USxDTIzcgvC9R+lDaylCC3MJIV9PHO /Kw== X-Google-Smtp-Source: AGHT+IFtyDIvJI7P2PUSrXqhLacKlQqz9FKu6p6E/UDw2sNkrLVdEwZSqWvpAdJ2mtDw06xzYlMjZpMo9tw= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:903:234f:b0:1e8:51fd:a85c with SMTP id d9443c01a7336-1ef43f53a85mr727745ad.12.1715299803227; Thu, 09 May 2024 17:10:03 -0700 (PDT) Date: Fri, 10 May 2024 00:06:38 +0000 In-Reply-To: <20240510000842.410729-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-22-edliaw@google.com> Subject: [PATCH v4 21/66] selftests/intel_pstate: Drop duplicate -D_GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " , " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend 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 -D_GNU_SOURCE can be de-duplicated here, as it is added by lib.mk. Signed-off-by: Edward Liaw --- tools/testing/selftests/intel_pstate/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/intel_pstate/Makefile b/tools/testing/selftests/intel_pstate/Makefile index 05d66ef50c97..f45372cb00fe 100644 --- a/tools/testing/selftests/intel_pstate/Makefile +++ b/tools/testing/selftests/intel_pstate/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -CFLAGS := $(CFLAGS) -Wall -D_GNU_SOURCE +CFLAGS := $(CFLAGS) -Wall LDLIBS += -lm ARCH ?= $(shell uname -m 2>/dev/null || echo not)