From patchwork Mon Jun 24 23:26:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13710283 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 87DD8C2BD09 for ; Mon, 24 Jun 2024 23:29:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 22E506B0368; Mon, 24 Jun 2024 19:29:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1DE426B0369; Mon, 24 Jun 2024 19:29:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 07EB36B036A; Mon, 24 Jun 2024 19:29:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id D7FA26B0368 for ; Mon, 24 Jun 2024 19:29:49 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id A1A661C2A71 for ; Mon, 24 Jun 2024 23:29:49 +0000 (UTC) X-FDA: 82267376898.13.BF4656F Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) by imf07.hostedemail.com (Postfix) with ESMTP id 7737D40006 for ; Mon, 24 Jun 2024 23:29:47 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=UAgz0gEF; spf=pass (imf07.hostedemail.com: domain of 3agF6ZgYKCI8xw41tFz77z4x.v75416DG-553Etv3.7Az@flex--edliaw.bounces.google.com designates 209.85.215.202 as permitted sender) smtp.mailfrom=3agF6ZgYKCI8xw41tFz77z4x.v75416DG-553Etv3.7Az@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=1719271774; 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=rJFiGCZar+q63pIILXV1m5S/VTx8srfmbdTO812oVXc=; b=nNdYMdfFX9JdYxLD9VhW24Vqsw37qRSDpHHgJCevqYEUKu7C0lH+Zq6YuG7czzeKsTxu5S S6FbgX1WnW4km7nOIjVDrgRxiw6Myg7yzlvMsL5j6BZDFwbuO9DxJbCx3SDoQGO33GQZpo ZkDZmANQLo4Dd93wnzdWVd8T5dY5krM= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1719271774; a=rsa-sha256; cv=none; b=AdzI2hChAo+FkWIP2oXxNBOOl7gUDpWmq4jCh/ACfxyI6LoywW6njKB04mgmiOW0MozdhW 8/Y4lCr8Ay4oG8a2dJNxBodOpPrZzFpeff+HuxTluncFJmrBVr/DLXVTevYqSEB4NrtvfS mJe+nFO56YsKcW5WK2AZXtizIl3qTVU= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=UAgz0gEF; spf=pass (imf07.hostedemail.com: domain of 3agF6ZgYKCI8xw41tFz77z4x.v75416DG-553Etv3.7Az@flex--edliaw.bounces.google.com designates 209.85.215.202 as permitted sender) smtp.mailfrom=3agF6ZgYKCI8xw41tFz77z4x.v75416DG-553Etv3.7Az@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-70ab3bc4a69so6143556a12.3 for ; Mon, 24 Jun 2024 16:29:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1719271786; x=1719876586; 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=rJFiGCZar+q63pIILXV1m5S/VTx8srfmbdTO812oVXc=; b=UAgz0gEF5T1jnol4QCNUBkw/dxwcPIkzA+tQefLHp1Qz0XL13hYaorwcOYczcR2du+ R6DmVvZdofTaMzqZSlwyoS/u/vOgNwxiYVU6gNZtowN75CwLLdm1GI3dZd7ZzWwesxs1 xHICc8Tt6eCqJcjMo+D3PS9G6dm1vna7gAVztmLwy4g1U9j5vSLIRSxwV+MdPH0Yinzl BmhJWv6S6aHQO67+mXpPhhMlunA+XxoiI+f3dp86+7xH5xRNfGqGqAEa6ATw6API42CU pSAu/67VL0wTKSpGWSp9f5tUWhu40J+GZD1RO6n5upZQz+jJKKxm/rGC0F4eGVSKBE3S f2vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719271786; x=1719876586; 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=rJFiGCZar+q63pIILXV1m5S/VTx8srfmbdTO812oVXc=; b=jvyu9qC3N2NOYB/CVxW+yceUUXnvHJSRxXvNVqG9JX8Sg8e4InUJHhCX6xD2GFa4on WuJIrBvChfpJaCnLpGhZD8VbNMc/2kWNm4KdI21/bX/uTjQSnYiILl/2XEeFjrQA+iHb xAZQDoBbtRARMc+WvEQViQ6NI2irby/6GG87/7Vdvt8uLTxtX3RBeAGCITdU0x0Ci2yr KFcWmYxSiHK8dzR+W37xVHQeFUEAaiVSqOLf30ogR0+o9hU7CA9qnJnWObwygtnLr3vi Rm+F2TWdqoc1TWJCoWcRsu8RHDbYo5u44b9vvLn0DJTIdflJreoymsM22Dlu9IoWAbT1 rsWg== X-Forwarded-Encrypted: i=1; AJvYcCWOKWeLza8RiPT3xvM8Mzy4sOFtmftMF2N1jeO6saD4XFjzlQpwveXt9zotZGlKsdPHOm0x0g52h4OneRmnjIutQIM= X-Gm-Message-State: AOJu0YwA85FGzUYc/Tjdhmy9ew+peiIi/uoBpm3+fVrH32bID0adQ0BT zFMA9WZXkigqRBuJJ4h47XhwMWNfQipHXJYP4bmEGG5nHsHrgHAMYWsgPoMQ2l3j0WwelRTXnQZ LJw== X-Google-Smtp-Source: AGHT+IHZaXS4lSce/uBBUIpFuXCH7I0BpPEaAf3VbI7ppnPDWzJgDOW4eIq57gPJilnwaCJeffaGJD+7rCQ= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:6dc1:0:b0:6c0:3f:cd46 with SMTP id 41be03b00d2f7-71b5b395b46mr19980a12.2.1719271786190; Mon, 24 Jun 2024 16:29:46 -0700 (PDT) Date: Mon, 24 Jun 2024 23:26:18 +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-10-edliaw@google.com> Subject: [PATCH v6 09/13] selftests/proc: 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-Rspamd-Queue-Id: 7737D40006 X-Stat-Signature: nrmpmubzotegw8a7u8suixm1kmy9ht4n X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1719271787-483204 X-HE-Meta: U2FsdGVkX1/9fEWrfSVnjpU64sTxGGnCZ9ONidRzMuY5CPF/WnKac13wBP/V4Y9ewOLYf9MIMkm3cE/YzfhsoNPJ1M4AT91JkfI+qgjQG/P6jnDF2dREijUEFFAedhHjBLMCmPqdweoBMUX0lOiXsezuOWfyBid/jeVgxYWzn3AhRSsNcE5IpBPEhAd3gEa6y8bFOvy1G+rkYuYNBByl3zFvX54tUbm3DxeglR48mxSUvx9b55ObKY3aZU/2EU/GaPMQqEfzZAQYa4zqQ5K07eC5QuXYTACK+tBwhXedIB68VfBNbWM11BSFvZDvkLD1orDabyc4CuCySNbJCkNpNMfMPrnl72GBy+yaPFvQY1AvEEZFdkP9COnFRQUd4mY7zgDNfPU3NrAGI02M3I43Juv2DEVpn6viETsmQGou8g2HmgX5Zbaw01vanBzeFIIFzbBEGx4MeOR62F6cttnQ877wNYEvx/xnj7aXGOAj4RpEeQUNvd4OhC2doyG++Ge2sL7ncBuAba6R3XSxkSKUowaHf2u05DUtLk7bWUi3Ux2eOmIIhGn1vGzyDsozXoVKWoMcfaH4NpmlGakEmQLR5TA9ctCMv67Ndvd0T6US93Y4YNPh2ppGY56h4OAEXlXSjzwl8b8JISeSWaSNc3Zsr+rYt6KPV8Gy/NziEPemqnQ8/+h+oMBfT1JL7bijk78U7v5v6sfbacwRXADpT8qN/yGEewl7Ky2hPyz0paA3QsIx2iec44PqrdyCfm3UCo2KCDYnZzzFzGQgodC632CKxxJcXjd81yOzbhjThJsq/+DrC3l7rjYZwftsvbKzbOKoNpPkjT/bKpzqU4iUdRRcJSzWlbHpqWFL5ZJCsSsDbi/2YjiOSlF2vMuFd/vKh8zpfqiXgEEKsWtVZtXDd+1Dhux329qmAzpQr7UwjZaFO/n+bjajzC2ICIblDySU9oKIG9B9wtmmQanY0LfOl9S tynJgWOF HYTsVxYUKjBdOm5AnYMKwiSoozH16zvxaJGOzTqvwd+cp8WMomPFVpXRGCYANg9lglbQ25kctckNwsxS0o4GfQzOy/FJN7yMtXCjoaQS2yCGN1bgCCXfl++7Wdh5b6wp9kG4oDu6n6/meLgB7ZgRKV1Gojd6XoAGLfcTncZpIvdGV9PaHufU71FPLa8wYeeBRcYI9y5SMjdFjvbcnliHrJtLE1CmtjbXVwgnfdFcE2XkLr8wTBqe6uG2zx/oqXuxh+K5mCxn6j7yJN+50UylsqPFLt3gM9xWNnDlGnKUOMUcfr5CkbxPIc6gAfWgpCQaCqL1ewbCoQsF6DOBkiRd97U2YRyRN5ue3qUl4E/zGpZ4Co1MmqLp0rb2f5dD8Qf46YsgMZJWt7+oH1tQ18BQU0DoVkPsBFja82xxxgrMHWw6cW++0EqGDfZigP4slLs8N5Q5obMO+17nRkBBblDu4Cr4KFpAVfzoT1VmltV1Y5MvQwcI1n7/J8F2Wr4pde1CWD1VNqk0HQMR5PpGyv56HqXZiXfDnNy4rlISdwwwiNhYjMIjuKUcfDoQ/WQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000190, 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/proc/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/proc/Makefile b/tools/testing/selftests/proc/Makefile index 6066f607f758..ee424a9f075f 100644 --- a/tools/testing/selftests/proc/Makefile +++ b/tools/testing/selftests/proc/Makefile @@ -1,6 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only CFLAGS += -Wall -O2 -Wno-unused-function -CFLAGS += -D_GNU_SOURCE LDFLAGS += -pthread TEST_GEN_PROGS :=