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: 13669989 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 9D6181BDD0 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=1716339635; cv=none; b=tHTD2ZBp5Ux1/RqAHGI6q57JRgh0mxvqa3AwXqLkMF0XQc41bPLfP8NGD7I2ydBSQBTd+BvGoZSsp8c2yIChK8F82/g47oAaHOZ/p0QtbWBZ3z3TwWClrOhtRPqndmoDEtxy4iicBtM95+UgdDhrVEKHo/ZodEyWaB5sMG+3NjA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339635; c=relaxed/simple; bh=OhLPqsRCgD9vJ4hW8ulo30Ne4zlzolp19IgJWmt3n08=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=mHauuZEe7Rq4PtkXW0LaGy8OlKwSXyrv2BD0OrLfdjdt5OU3xmfl5gdtQBWS1wX/VdM+CuP63QaP8LpSRdFEZnepAD4RT815kOj4x589FNFtyIAy0M3gIeIGJcM0diXvKXJEkMt5fo2qZA+Guze3cl/EveBRyd+vAFlmzDjCNDc= 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-df4e4d71754so99454276.0 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=FIiq/c76Le1yeCx9Qnt2jmaVouQW4wp80v4Y4U4xw5SwLZMSaF6K+1AD+06npv7v6F 2aZhYe5PgfhHEREBKUTtgXmXD0sM4XTnP5HZAQ243Pv6hlwkzhfaImU61BIAQpQlbA9n yTPBJ9v6GfCJ5JBRW7YW04ZmuMhBFXinDBhBTOSZgZ4zDD0Ktv6iYJzBhkiDbUVOspu8 UyBuMRdfwvFyUW90Sg65OVlUkh8aAQpjbhvrJBxZgprKKU0CdDUng0VReM6VTIRbGyyS BA9QvCenqI7c/n803DYpfNQ7HtTaWt8FmcO3Vf/EpOuK89zzf1JCOmFOeUtujRRm07BV dFuA== X-Forwarded-Encrypted: i=1; AJvYcCVVhaaXtRjK4wBJJjg6S5L0+fs2+UG3agkmIH+9VBUn3Ix3xu1OLq6JbWbKzhNrTcTA3CFPDOpdDDeCf5G4Bj06BfniPVhUb7X4YSzcV5FpJUPiC1St X-Gm-Message-State: AOJu0Yyc9zemC7y5l6O2DNauq3lxN9/yPVjxDJHNGAuzDTxbCaLQ99JO IikqDnbmCSZn+blcmaBu0n084CIZFTc9tRXorks/TSoXkqrnvbNVMrWnY3hUqZNhyoFgNQXZoGj PKQ== 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-security-module@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)