From patchwork Mon Jun 24 23:26:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13710280 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 652D6C30658 for ; Mon, 24 Jun 2024 23:29:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F266F6B0362; Mon, 24 Jun 2024 19:29:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EFD056B0363; Mon, 24 Jun 2024 19:29:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D787D6B0364; Mon, 24 Jun 2024 19:29:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id B36AD6B0362 for ; Mon, 24 Jun 2024 19:29:32 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 68EBBC13B4 for ; Mon, 24 Jun 2024 23:29:32 +0000 (UTC) X-FDA: 82267376184.08.4BD009A Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.202]) by imf23.hostedemail.com (Postfix) with ESMTP id 9C7F0140014 for ; Mon, 24 Jun 2024 23:29:30 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=ggaLOF81; spf=pass (imf23.hostedemail.com: domain of 3WAF6ZgYKCH0femjbxhpphmf.dpnmjovy-nnlwbdl.psh@flex--edliaw.bounces.google.com designates 209.85.210.202 as permitted sender) smtp.mailfrom=3WAF6ZgYKCH0femjbxhpphmf.dpnmjovy-nnlwbdl.psh@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1719271756; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=0Ifr8Ya8A/Lifd4HdrItZMFbfd7FCXsltsIVIxxyLaY=; b=T/z1TVJPmQcU0lR+gs53aSmbzNHi512gPUJpPDmw1ekwMzi0xdV/j2KLBUT8FAJqjaENRJ sda/vtJCMZDpl9Ar5S/c6nDN3HpgHK4M6SPYYnacj4fcZkxcGEZ0l4ESQSh+Rk0NN+lEWG 0fa8DSU1tiQtG+/TgaB3XVnE9zB5GVY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1719271756; a=rsa-sha256; cv=none; b=aGgWzngp8giMeqiS8m7Mp8yB/qiYbHMIi1sguplC7ePdoG3NPaF6a3eDw4uQsTcinVKa9B pee2Qv1jJ+ZEn7DuqiL1SNKGi68Mfowu0hj0W278al5/IPQjcwab5WUgfG5ELOtwF7ZQU+ PFLr022VC2OuSoGSiEoeZLEpZ8KVtGc= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=ggaLOF81; spf=pass (imf23.hostedemail.com: domain of 3WAF6ZgYKCH0femjbxhpphmf.dpnmjovy-nnlwbdl.psh@flex--edliaw.bounces.google.com designates 209.85.210.202 as permitted sender) smtp.mailfrom=3WAF6ZgYKCH0femjbxhpphmf.dpnmjovy-nnlwbdl.psh@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-70679e6722aso1461892b3a.1 for ; Mon, 24 Jun 2024 16:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1719271769; x=1719876569; darn=kvack.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=0Ifr8Ya8A/Lifd4HdrItZMFbfd7FCXsltsIVIxxyLaY=; b=ggaLOF81RCQ5s14vEBl0XMUp89mlka8+rkwuK9DomylJPa2xFxxXROP2AhfkEfCfJG cbHrGgAgnwa9eVZ69lBBFsVT16dgLSpeJEJalcz4X4xFteGd6atMnN55CfL7kErc1Yvn tI5TFxu1u10OP74l4EcZiNSExtdchewH0BInGibtDv1RTD0yIyLhffi9L8spOEqDx3Sm /jMkyrkfajDgw8MO5aQsprNcwMobL3dLfKEp6YzrCvuAAJXiYsDL62TjJj6FOD4RsNXD IV4ZtLO9qoc7cVgzAPDReKO4YkNLgEQitXQgGzVOPri96fZcc+ze/bFgp8r0K71foKW7 mLew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719271769; x=1719876569; 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=0Ifr8Ya8A/Lifd4HdrItZMFbfd7FCXsltsIVIxxyLaY=; b=BT2Hz5kpSuk6y3fGNVf4lISsijYzsNqqJ/WkZtXl0FSf1morwnG5hRMD5lZZbV0wJB p8W+TaNt6+yOAfZgbuIPdWqAPHgJp9AS2A7BOmO6WSbXY5TZ7y2oKlJvlQrCcnOIqRYn b88LJsKhcqfSnWzrau+vrKcT6KFgFJ8UsColLuh/eViMtK6pzUtOlf2IieCqjJbHU4pU yM203xdD0OcxyK7N0lcKvK7jJC4XNCn/heY43UAJthcqNPuSS4VYmqgjK942OxZLKxdl mNrd3uepMV6ZXQgxe0zDXlzv13grQlmWmd5C+9YK69BTZ9iEvYCd5sB5GGwIwbnYQ5/K fimA== X-Forwarded-Encrypted: i=1; AJvYcCVKhQ2IM3IWUHcrLReTYyVMZoozwwvcS5CKmmnvIxal6uwpo+GnCpXCJB9pb+P9T0o55R96irdQUp2PBUhd/XDx/D4= X-Gm-Message-State: AOJu0YzNZrn6uD+RDDlMVUCskx1cF+Uvbt/lTs2CIm4bWprlMREMTqr5 hQa6MSmiUQF3X2IL/E5W0wmxmSHAYx+7rJEV3Z6kAHgaZjPP48tfPLrI/D7oFLmPb1DQ6w0Ewhd BLQ== X-Google-Smtp-Source: AGHT+IGfwxTfgoKpQbwyVdHdeu4Fayfp12bseSCI+21TX1FuKt23v8wGVL/xanJWyhgjJiFfoB7TugWlGLo= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:898e:b0:706:3433:bf21 with SMTP id d2e1a72fcca58-70669dfcfdamr31477b3a.3.1719271768844; Mon, 24 Jun 2024 16:29:28 -0700 (PDT) Date: Mon, 24 Jun 2024 23:26:15 +0000 In-Reply-To: <20240624232718.1154427-1-edliaw@google.com> Mime-Version: 1.0 References: <20240624232718.1154427-1-edliaw@google.com> X-Mailer: git-send-email 2.45.2.741.gdbec12cfda-goog Message-ID: <20240624232718.1154427-7-edliaw@google.com> Subject: [PATCH v6 06/13] selftests/intel_pstate: Drop redundant -D_GNU_SOURCE CFLAGS in Makefile From: Edward Liaw To: linux-kselftest@vger.kernel.org, Eric Biederman , Kees Cook , Shuah Khan , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , " =?utf-8?q?Andr=C3=A9_Almeida?= " , Jason Gunthorpe , Kevin Tian , Paolo Bonzini , Andrew Morton , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Fenghua Yu , Reinette Chatre , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jarkko Sakkinen , Dave Hansen Cc: linux-kernel@vger.kernel.org, usama.anjum@collabora.com, seanjc@google.com, kernel-team@android.com, Edward Liaw , linux-mm@kvack.org, iommu@lists.linux.dev, kvm@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-sgx@vger.kernel.org X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 9C7F0140014 X-Stat-Signature: eb5owahjeiai3grf4664c4qpr7jobdis X-HE-Tag: 1719271770-725774 X-HE-Meta: U2FsdGVkX1/UY0B8ITnFLaZSTMBGZN8TfoMYM9LVWG8hBQRGrdMfPPGCHloHI/cuEty05q1kAVkohCIKU+6UXgqO7YWkq1Xihmi1Es1QyUa/l4YcWYC1sd2PSWi7sx0c3N9eF3NF2h4WSF70Rs2kd7ZVvtA6DNciTy2owdKBb+tDZ8bXM68uH1AMJOpfdgnjTtpIojh7yO8/wPbi9xeZpy1lMD9jypmBGqNzo0YnoKefuXwN9he0vJPHDoRHgKPrNji9FD8+XUyvGP5yE5Tar0pa3DSJbNV/rYaPtn/97UyHlpiB60g4i2jufxGRc9r23U6lPOpCOnsFW+YI7njQRuKyjgIJvt2KT8UsKNogv5tLviP/OlPhXnDpqvKPwCgzwaaXdPyp4YykpoYO927/yIKXKJNlzjXn30eyp/DAHsBX+O3D/aDBs/6HC/tN8tCMp/Ek3up/vWvinmBwAzcLsNsmSh7EVYWrLDdMC0XVV1Eie+jowobMYciyU2d4jgEEtmqEt27XmPe9OhLKZfkYzleaORami3TXIPCdEkqNlPcdCYC7HEQiuQ7Uf0DYJpkGRo4o9tfNZDcnFGIR8NSALxG+a+91Y3AglfTBwxHOkrEweGoulP2AR3U5TUdPtYgH1OA/xTS6SIkbBsE1qHzP6UC//OtvWVUsS/PLeKsuc9sqVbbKrN4O66ZFJHzasEBZx7bFRAc/tIvZ05rCnQ4X4Sor+qGxTfmG6rUlKQmjaw68XBqM/4CjcmNGRCR3WCNX2VWXoq4claMsR49SCpbPMvSjcVKsX1kogi5AZjRwLeS9rzIm1/GLpz/TPi58sL4mTMHhAHWLK402VJ+zll2ON3QPCkd342khf2FBYnE64IybJIcHnacriXxR1rkiu+A1JM0sOjDtN8MbY6GKUDkW4PLxF4ZaH6C3uJQAdMaieKHz/xLuQkjxY6C6oke5gXDQZi3iTVsy9TsXhRXnalQ 5PC3gy6R ZVvIK59tOun5lQjrBr/WF2lhJMIsh1XrgfIoc0t8zJCi7KZtXYumfbzwY1NAWqSEcDvDWP/sJdOfUjuUrcS6PAwzdFkcjP6PHJEq0ElmM8qf0xGc8ZlmegpEVyFVjAqRIsGw60vZ9KayDXTgkYpOsIgTfCmFVlIg4vkRCmb/aF4l6EkwfjLqLAxuR2eXRl5dpgPj56Xz+CF2n9fjeiWX7DLgtZ74NbXCFUTvtmj9q1Hd4nx+3OxWNg6TqRvOqzU5sxnDb8xKt7Uyi6KAQCphIw4RiN5HOZyOOSnu7bE3SZaTyFkxE6SCMPcTzsJVKS19b3bQUqL0moYHUOKeRpsGf+8Bt3AQg7DPVHpcM4S32eE8WSa4bhZo9bYGlrnQFzhXdga7PIFUEJ5pRhtEZg3+PhQRi2r+oCxgWR6fZxqdYR4OyCRqDD09JR0/ilaM+FJbq6isLfSUQZDAqvswvtQ0KXwYBdfvrp+WIlLbDDO26jqWUqyUHdgst1csY18OtVM38GhibcsNYbF9Q+RYosGnrNiGBChd+SbCY3UEroxzx2lBtcw71VztzofDfyUR/ej/Tvw6R X-Bogosity: Ham, tests=bogofilter, spamicity=0.000006, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: -D_GNU_SOURCE= will be provided by lib.mk CFLAGS, so -D_GNU_SOURCE should be dropped to prevent redefinition warnings. 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)