Message ID | 20240624232718.1154427-8-edliaw@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 0ED50C2BD09 for <linux-mm@archiver.kernel.org>; Mon, 24 Jun 2024 23:29:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 933716B0364; Mon, 24 Jun 2024 19:29:38 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8C6796B0365; Mon, 24 Jun 2024 19:29:38 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 75BE26B0366; Mon, 24 Jun 2024 19:29:38 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 560456B0364 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 19:29:38 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 1C106A3D56 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 23:29:38 +0000 (UTC) X-FDA: 82267376436.16.FFB17E5 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) by imf28.hostedemail.com (Postfix) with ESMTP id 58A64C0016 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 23:29:36 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=08aKXc8b; spf=pass (imf28.hostedemail.com: domain of 3XwF6ZgYKCIQmltqi4owwotm.kwutqv25-uus3iks.wzo@flex--edliaw.bounces.google.com designates 209.85.215.202 as permitted sender) smtp.mailfrom=3XwF6ZgYKCIQmltqi4owwotm.kwutqv25-uus3iks.wzo@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=1719271769; 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=eCJX8+VvSnRphReKqOD6AqEhzLc1OgPwFHKFgJpo/3s=; b=B10DR7Ls6DoKz2C9q/D5AHZxnJfVzIX1HGQ1EKyauzIEU7o9H8+gwWy5NOSZjTVx9UuO3x 8oFF83BdWGhcEy0E4eUr7U040k2rLeTagxTRNhlvhpiZe45xSUsrvCI4hiN0p7OGtmw2sV yL62jyRsOgPIGM5kg5NfwnmmUTQekdU= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=08aKXc8b; spf=pass (imf28.hostedemail.com: domain of 3XwF6ZgYKCIQmltqi4owwotm.kwutqv25-uus3iks.wzo@flex--edliaw.bounces.google.com designates 209.85.215.202 as permitted sender) smtp.mailfrom=3XwF6ZgYKCIQmltqi4owwotm.kwutqv25-uus3iks.wzo@flex--edliaw.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1719271769; a=rsa-sha256; cv=none; b=i71itU0WgVRUZ9C8LjSqZuu1w3VMn8h4jn8jD6lkmwXQ7IA4pzVqzgLLe9MF82y8hpxkem fHS8FB7ZqIYj9Nn9bU6vvJe4dGyxcevgcaZm/RAVm3gJS3tYsBpRed/kk7UK48dOhYLRtM w40wzc+XsBzbrMci9jfsqPYhBcV3nbA= Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-6e3341c8865so6341055a12.1 for <linux-mm@kvack.org>; Mon, 24 Jun 2024 16:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1719271775; x=1719876575; 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=eCJX8+VvSnRphReKqOD6AqEhzLc1OgPwFHKFgJpo/3s=; b=08aKXc8bzypSq8W/xoa89Ao1G5WHvcpWb7tx0+aQ/9XfE4GtHDRjpJNoDtgded8EIQ YqL5ffETbg4tXrxz5cJNUWPeiNS4G2Rd+5u0UfkmCQVhJu8zqPvhXDYBJPaex+d1BeKU u8DCF3mNssS88UieyI1/S+hom8Jd2sa1uDIM2KmD/OM282ON9oiaosdZlSapRBlywwUN Fy6qG8oibxfY+wZPgta8y1dDjWNxRA+ntyrF+usm1vDXhtUylB8BUOdDyEo2lFb+AMVm +pi0hNPA/7KLq3n1VYsRA67JLWYO/1QATShEIsqqhusiLTsFfT5P3G+0r5ll+wpD8/Dn p82g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719271775; x=1719876575; 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=eCJX8+VvSnRphReKqOD6AqEhzLc1OgPwFHKFgJpo/3s=; b=V4L8JICD1bElJ9QtftndVgV9EVf19a/y3PapcTS3xqgKuocyDawQPN61UigY17AGk2 GATfcH2T9vrt8+9fTufUjrciPOVjsPtuEut9RWqfDrlFWdH5brzaIqfyx0TYYmGRypld R7To4g1laEAFc0M/HAg5Ao63QvU3JGhJkxvqHu8uHQZnm/vkmrqmqhg13ydNwX7qPf4u hf7nESmwzE8/AWukhTnBS48+QFDnG8IcQ/WCJRydGmJgyAx75q4e2A85o5n6MgMKeEAB RphR2dTxfi05xubFK17uhiEshKpcs8o0DrLU97nb6EzEIEUgsfnSBewY7vrICvIfypah AHjA== X-Forwarded-Encrypted: i=1; AJvYcCX6ih8n4fNncr0DYejxxFmDBODwRG80C+PMvtmukHTaND5vNSdrYH9tJG8pPO60qhsfJUuhTnrTqEtxZKQI7uGGorA= X-Gm-Message-State: AOJu0YxBoDgZHK6qgnjPBRxyl+cnLCYjMqxRrhMi2o2p1RAGDP+pYN7i hpmSGkKTSgN6leiEfd1irNunvZ41IwSVt5z6Yp6jDe8lWPD/Ei2WWJKbWTUxYey2UjZ23i5kLvQ OYw== X-Google-Smtp-Source: AGHT+IFjD4+usXw1SHxX9b7ePdUBbw8ZgCP2CzCr9wFCk6wJU6Q5+R81P4uygwELRit2itW6ZnfR1hiEObg= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a02:91b:b0:710:c65a:7e55 with SMTP id 41be03b00d2f7-71a35642c51mr18906a12.1.1719271775000; Mon, 24 Jun 2024 16:29:35 -0700 (PDT) Date: Mon, 24 Jun 2024 23:26:16 +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-8-edliaw@google.com> Subject: [PATCH v6 07/13] selftests/iommu: Drop redundant -D_GNU_SOURCE CFLAGS in Makefile From: Edward Liaw <edliaw@google.com> To: linux-kselftest@vger.kernel.org, Eric Biederman <ebiederm@xmission.com>, Kees Cook <kees@kernel.org>, Shuah Khan <shuah@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Darren Hart <dvhart@infradead.org>, Davidlohr Bueso <dave@stgolabs.net>, " =?utf-8?q?Andr=C3=A9_Almeida?= " <andrealmeid@igalia.com>, Jason Gunthorpe <jgg@ziepe.ca>, Kevin Tian <kevin.tian@intel.com>, Paolo Bonzini <pbonzini@redhat.com>, Andrew Morton <akpm@linux-foundation.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Fenghua Yu <fenghua.yu@intel.com>, Reinette Chatre <reinette.chatre@intel.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Jarkko Sakkinen <jarkko@kernel.org>, Dave Hansen <dave.hansen@linux.intel.com> Cc: linux-kernel@vger.kernel.org, usama.anjum@collabora.com, seanjc@google.com, kernel-team@android.com, Edward Liaw <edliaw@google.com>, 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 Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 58A64C0016 X-Stat-Signature: sh7ty8je16794k3kefd8i8ytfchcy14t X-HE-Tag: 1719271776-667772 X-HE-Meta: U2FsdGVkX18rFot5eDz/5mEBK1/ox3pFk0MezoPaQ4nnZuaUEH/AVnYwLVXb9eYk9bej7zZDAgVgSFI6q/5j2Y053geDwzSiRe2eB30cq9eOgPfxpFR6V/ZO7TuGJEF4NLI59BjSMvL6OZncgoE5wYdU/4nXBdnlYwuaEjNOEevI5F2B8nTJ1yL6TNFevC3Tj7N2L5KJe87KEtryL7sDU4N3rE8YUB9cj+58Z0Eqxz+BAiMjhHgW2MZ+CfjBzeLpUZPYiG3I5+jmEeJMmbnVDJW3PWllX/ujD/W0+ERoUiOYRmasFNSqndnw8R4An4j++RCoAZNRX3BUAtp+e0Es0E7l7MEDsnVcKLeXV5RgZGPvzRHuYL5+wbtufzXmtVtteMt/VKCSRp6dd7NhtdOsQxMcjiM+9LtayjApXEDRKWWvFOkN5n7llapNxP5Zm3N+pG7howRLg0xLbN5Ub71rol48lHMn2u1z4o+WEjWM/EEnszs5FWhrVKMIywczyQqNEzHOt+uvEKA2lghxqO9K3NbqZdI3fc0dI/YdVK1DB7DdGlBeF/pM94FB8tLqYB1fT+QaiPlKdiqloMff/0p3TiXfrcdeI8KUlZPHp7mLx0a0IIF+xRep5OtoD3wPCSZPxSdte3qG4cmij3FCutAMr3e2FA3wvX0wknCFtXZAGQTe7QWwMs7Vp4QbRdlFtjGEWvBjyoQslm7dwfJ1XfifvcPFVdPt+eQcKTHa2epUSYLebNtyROJGumBP/mYJ3mYRGPyaWWsDzwX9hEquRva+ZXye+q0GlkdvZz6vE87FrJ4HfcpJTBt9gVapA1Xm+f4geGlCa86mMC2TWnKE1QiSWHhCpgN+PESFm8cImsp+rhVnKFAx2mEJ2+V3zlvOhQap1by6DJggq/ez6tr47+M6C8shNaFLaZHuBnGn1Fk61OGw/waRCPscIs7OwgRy8mV7wl0ESgI1Rv2QNCkoJpc q7Rgu9lF 6+EpKqS5+rtSXoGfeq5Uw3AnRVZRVr+k0EMHKPH+s2frGDaWZYdnDmyOed4k3faHL9EruvSBVFie5aA53aYuZPBrQ2ybSiw9C6/nhhShIGeb5oaN0cLUmOncGLYP4v4jtwUD8eoozoZTK9sEdols78GT/4Uojd3I+pEBY2mOjX4w3ux5r1ka9qi9HMZN7A7dHXnaO+KTiOmLrdcL4vBjfFSc1fgwNCBEGMnj498ln/cg/YzbYyR7qLKoD1rQFlgmdzI2awx95VI0bNuJAszP3Js5kQKA0NXR/J6OvAPRXliECg6YFwV/d2klEVp+RivMOXiLB5LqL5bRjZ4hzduLJg6q2JzCvLsOWO4s8STSFhPaufI85VdIuMzAiw3CN9pGJqUwlpp31Twyu6iLG5RDp7duRzRpC6zr4/F9t5d9cxgInocHZSrH4mPCOdy52CYZRSo4q5v3LLfNc8H+cuRRHaBZpIE7OLAlFy8NaZcim28iTP7OoWG39y1rO+dj6qjf2HigjjNzVQixqyrP4fhxwgvMIqm5XBvKCEycX2R/bYLf3hNccERq/mPCbIw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000004, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Centralize _GNU_SOURCE definition into lib.mk
|
expand
|
diff --git a/tools/testing/selftests/iommu/Makefile b/tools/testing/selftests/iommu/Makefile index 32c5fdfd0eef..fd6477911f24 100644 --- a/tools/testing/selftests/iommu/Makefile +++ b/tools/testing/selftests/iommu/Makefile @@ -2,8 +2,6 @@ CFLAGS += -Wall -O2 -Wno-unused-function CFLAGS += $(KHDR_INCLUDES) -CFLAGS += -D_GNU_SOURCE - TEST_GEN_PROGS := TEST_GEN_PROGS += iommufd TEST_GEN_PROGS += iommufd_fail_nth
-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 <edliaw@google.com> --- tools/testing/selftests/iommu/Makefile | 2 -- 1 file changed, 2 deletions(-)