From patchwork Fri May 10 00:06:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 796154 Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (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 556B112D762 for ; Fri, 10 May 2024 00:10:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299808; cv=none; b=jhSJ3WPJZJLbdWbCVLvJE+QZkkCd9rtmuc2LyAJyWd4auQ1/pze4D8XIPHrO1mZkuxWZz1NqKfdOLHrcSPqqCj9m02tp8TepdpWpL27bWCTw2ZpecE6suJGGU9RXDzNSDhtfyupTSU6XTTrn4xQIAMdaC9qNqZcTr2LlEz5wUGo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299808; c=relaxed/simple; bh=lWLGmZvaxA9RBlByfmCfZky8EH90Zb+6S+z65rzDbew=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=eLlTACoGaPBIKA72YirHoT1cr3rJ+DfF/S3PS/YqhLtxjIGaj8NTNLCt9BQFo4Sz8ZjzTmO99m8LwiEgpw3WkwvS39fanO14ni9dOuJLseA81upsYOuQdTRVX76LgrQxGrhEeZfS6SEcAXMsSpRtRgMe2t4zvWJY/iBz31hOZuk= 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=1AorH5/z; arc=none smtp.client-ip=209.85.216.74 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="1AorH5/z" Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-2b2c438d031so1298257a91.0 for ; Thu, 09 May 2024 17:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299806; x=1715904606; 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=7hWPJomGop1o1vSO/WNR00I+KyAYhO7ZfPBKMyVYJ3k=; b=1AorH5/zfBIsl6I1W3gxKFkFvY7wyCooqJQFG6hlCV1OXwpTFu/6U09DEID98vJPma xU9NFXQjSxXI6WO0a1xjKM1qepoi8IXetODmqq+8sq4SprNGVeR3BoxTU8FGGSLdfyPi 65p7WGhUSoskxbXhvab85uzZULwjqGIFgaDgMM2hE+kFm+6CKKOa41TSsv09EEhR4z5A i5UpGLiiGyed3smL1sKgAtMmX1EwrLu8PEYYmcTLcD9czaKhgdLiSl5uf+FMOE4dLarc W1JoweJKBv49t0mQ7oN4Y/2oN4liyKljZsq/HGdu1is9niStZ4nqXzy/tUlZyuwkfBlM 2p1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299806; x=1715904606; 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=7hWPJomGop1o1vSO/WNR00I+KyAYhO7ZfPBKMyVYJ3k=; b=QkaU1eAuCW3zqV7dgrcAhbV8rhmxP9iimnZhw/l0OOLzCw3o9oqQb+Xlh57icJMbOn WV99qbsBYjqypmL2Nu/YtY/6xArf+dOUVghqvrfidg7e9BUpjvTDuhhBAJUNpk+oK8p8 vwrjmBMj/PN2n2Ncn6thAj7X7XrEPRC6/HiGF346tYxyzJv9sPxhzZpACnZwGoEXxndh d33HNU+DpWR5DvWslNZHo0767anLqoLxEqJQzCgpaeZNddjHvybVE/kG22M9qvV3pydp Y6me2OVRJlWQexuuKgBC/QgdUX+DmQPCylKOrG6MwMDog0uAVaPf8zjAVYtd6HAuzL8Z dwbg== X-Forwarded-Encrypted: i=1; AJvYcCWzY4yoVSh7nXLoOs8FSzQaUq8gvKsVL/O5iUPqvLrw1u8iqDsYbjFsOHae3bIim80TxIRwwD4YOhb9pXQH1eot6eOOvgVRMZMVoQxtDmKu X-Gm-Message-State: AOJu0YxulSEyyea/fLql06fots+sVSb9bQV0EUs4Y8a1xoBTsv+paMa5 O6D4ljDhc7eJgRTnpddbLdGLKO/1s0wyoEtuyeK5qh1iNxIg7cmrQvBHAzjzZBuf8HFuPcQ0YeL 0Gw== X-Google-Smtp-Source: AGHT+IEKFRA+4ILvLn3PhPjtR9sP6AseSfyhxdQaYvOqTgra5Rvh/8biTFwGx5IN/9sytyswqGFZAsbivEY= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90a:b112:b0:2b2:7c77:ec7e with SMTP id 98e67ed59e1d1-2b6ccedd5b5mr2880a91.7.1715299805622; Thu, 09 May 2024 17:10:05 -0700 (PDT) Date: Fri, 10 May 2024 00:06:39 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-23-edliaw@google.com> Subject: [PATCH v4 22/66] selftests/iommu: 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 , Jason Gunthorpe , Kevin Tian 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, John Hubbard , Muhammad Usama Anjum , iommu@lists.linux.dev -D_GNU_SOURCE can be de-duplicated here, as it is added by lib.mk. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/iommu/Makefile | 2 -- 1 file changed, 2 deletions(-) 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