From patchwork Wed May 22 00:57:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 798542 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.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 73EA71482FA for ; Wed, 22 May 2024 01:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339634; cv=none; b=PLYdB7VqPXCaygrAU5x6pt4yzcB8SrwamWtlvHx/80XR/BVbVSzL72ZZHtwCjHULq+jO05GYPIf+28rcPHStZObK4F5v1AYhlrCB0bxNHbAI0TvOz65uKgAypiHb6SjX6i9/ZqljwYtptZXNPknmEasLhocm9Pju+ClsV4dG1vY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339634; c=relaxed/simple; bh=OhLPqsRCgD9vJ4hW8ulo30Ne4zlzolp19IgJWmt3n08=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=FKyFDQLxUBVkKQPpD5/y2GAXU3DWsFTNCcMOFHFPtw8RTS0aYq1dsd0mx6otRYUgNzVWaDQqiBatx7oOhJPLcXYN4cq47iAzkiiCbFcPQw3VgYprJ0QNt6oeDhauUzE7fWU7ON/B7k/xTIlCPX4823BPKFk90HBFmbKys6kGXWU= 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=WDNntRXJ; arc=none smtp.client-ip=209.85.219.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="WDNntRXJ" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-de60321ce6cso24313307276.1 for ; Tue, 21 May 2024 18:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339632; x=1716944432; 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=oewyckT7yCJdv6PsHxuPsX+KPG3aBwcB83OXgCrutjo=; b=WDNntRXJ1eTfAj4Bt7m0nw7JJEKstbvV3IFUWezma1oztg839XfpotIxd9Kg8a2dHF 0WwHWvoM0F7PoY5TPvkYizp7MCG1FN6JZz0CmQzERsoYHObklhzvd4hqGmOptfUYC2rE Id1SiLa8714QM95OVgX8nJwshITfy/XrHzURGavEOFAXFvb4+xIx0S6bPYT1KsUXCGC3 XOWuXWPw1G2kRuuEhYL8aaOTuec+oQiIxvUYTKgeQXhWrujcSdfOPZBpsR3Z+sb2/OGD aUS91RrtrolsY1sJA9BNSymA2TCwKQOhknYRCiOIpkbohpYIIYBVNmbnR4EiTOwEkcOi DZNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339632; x=1716944432; 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=oewyckT7yCJdv6PsHxuPsX+KPG3aBwcB83OXgCrutjo=; b=F2hTTgu/VELVAbbw/ZqXJZqySkjlgfFSaBfz1F53y4OM3MlBq0wrEZN6pssXqDbehA JVIEzsiWv4HA0+vcdYQBMKXybPl+nnWpbceaf2vxUTsN8crIPZtKz8Nboxu/x0Pp1F75 naYekoVOgfDSfpxLGirx4iLATKZzosp0dNEWtndOV6CRDlvd2/EThYtML5pvKHUhaXJ0 7tp2i0LVmt2FIHP6LP089fZosVpKRR2xICxpcKvCtTnVO277qpvITCKBXNoHYq9X+RfP otBNLwBv9/umrA89TWVWpL+b8zHjl4qeOdzaPym0L4ZxeKsPr1Sll+Qtln4uEQAx/a9F Xe1Q== X-Forwarded-Encrypted: i=1; AJvYcCVUiGnQwfQ1OMJ3Nt06G/AWdhomFNyAbRln+YrtNX7LjkZgVeMrksYt/Mc9uywExWCheIS9x562vmMqApyBg4/VJQjLt+B7WBgtIVNX1sgk X-Gm-Message-State: AOJu0YzubbW/FOBX2uzxpJBYBcDvp/WBEFJ2luM5jnUDGrwC/h3eetv1 2TtMy4fkbrUvO9SB0I4tEx56m8E2vwV97HLFpVx+WVuyNZP5LKkxu5hnY85cvqoJLQ40tl5M1p/ XwA== X-Google-Smtp-Source: AGHT+IHUNo8cvfMfJNAVfAe+BtdbpT1JP+r7S8PiEYjzPEdLVkTG1XyhCc3cwbOFMzIaHwj4vfyOysmUIdw= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:2b91:b0:df4:a381:517a with SMTP id 3f1490d57ef6-df4e0905878mr221333276.0.1716339632667; Tue, 21 May 2024 18:00:32 -0700 (PDT) Date: Wed, 22 May 2024 00:57:08 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-23-edliaw@google.com> Subject: [PATCH v5 22/68] 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)