Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp183462lqo; Thu, 9 May 2024 17:18:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUHGGd+EKSp4KmWuH1uavguqRs0nmwOsP77180PuYAJRO5+Mkcnfq4Tt/WeMYD+3HzFzYru/EFyvZxsW2wUypo85wQYQuVHAk4x5xwsQ== X-Google-Smtp-Source: AGHT+IFwMEU0WVCjsyhwQ4UgAr+fldiXvTRMRzK91Dr73BZxGtamzaY2cZtLkDteez7fiSn7YhZw X-Received: by 2002:a17:906:3ad2:b0:a59:a857:85ce with SMTP id a640c23a62f3a-a5a2d65d591mr62294066b.52.1715300281596; Thu, 09 May 2024 17:18:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300281; cv=pass; d=google.com; s=arc-20160816; b=uPD/vzV8AfcZtHqQDi+AmE1LzqKgiA6OCz9u4pAYOZrk9JrOL9Kchx4nTwEh/vp/KZ Hi61fNWPK6lHFRnOH6JKEZ8XXkaqOJ/JlHPEYNiTcCbIhbY7JeyZex0RLXEguwGtmcCz S35GEw/m35U/vldXlCKONwYh+DYf+gH4Lg9tN9IZKRYQBdxjbqCmXd0Q0TQKiTyToEbb c85vpHYXUivYEYQKYW1xdXzO6G9gOFarMQAwA26QVnzqGiefSwROggkrxalI4NtV0P3I 7yKOolH5XXbn5isN4a55GpbZdVKPtKpOlmEiFSUBqw3TsS1kuDu3VXZxo9pc42hub97/ beJQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=7gmE/+1tJ7Ep2oqmr2taMm5VZCwXrcQv9eKCkUAc/7U=; fh=r5hw/whOzrdnLecTIrC5ykwNZrpDRnPIdIU+xHpafUc=; b=aWTvTnz5EBhEGpgd/XraLlaBSnP4njB9UbMpV9gtzf0n1scBRl4WI0rLesZFAyiL2p krOYSm5OdFyuxd2T/XLwd871LDw3oeXKxVTzEkEd3LufdzFDWzX39AgZe+s761whA8wa iKlB/e669J58hDl3o92qTvzeBsvggV1G2LMejxpYZIXRYraT+gTF7o9e4/3Q0zpwgDab zOhU/m0mtyzyw2ab6qVpne6U3uz/8fWaxkW+Z1mDZQESlMbJx6hPWDDWTs2VpzHZiI7E Gu5RtUBxF2rm/R3jQFvlAnTFINkKJ2HkQbpsc9L1KvwuU+Y+FK9vd63QpI0OFsc5BrVT JoJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=NfPYhVCZ; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-175116-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175116-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1793c2b4si127319866b.15.2024.05.09.17.18.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:18:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175116-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=NfPYhVCZ; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-175116-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175116-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 56C641F21230 for ; Fri, 10 May 2024 00:18:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BCC412BEBE; Fri, 10 May 2024 00:10:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="NfPYhVCZ" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 A507C12A163 for ; Fri, 10 May 2024 00:10:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299804; cv=none; b=tC/T442J8hRUysCbP5ZCNukJo5X32kX6WGow64G2COiU+d0gOvyl/pCx/8cEuPVWNrVTvezvDrt6osqjBSjqEKkGsQp/Wk4jBou/jucjFu4PTbp0c+i035p4dR+cGtcA3/RAcqtZyZH0Mp2V//Wvp5Ys8fOlzBfojJavFz1e3os= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299804; c=relaxed/simple; bh=qbmkyF0+P08/z/Fp9ZayOXH0wErOspB3sKr8OqJ3zqA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=sf/zgcjccJR1smb959OCRiDwHLzF6ZQO03eoN89049XV88Cl5ysQXX8sTzsGI5i+VfZp4qL8Jlv0sXpR4OK1mZL7HjAZM66q/tVV1ZausRN8Yz+OgmjfdNxfY4VftpXvRuLMsNlXzaQBP3ntNmdmXO4oHtauM5gM5+cHEAvkKFs= 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=NfPYhVCZ; arc=none smtp.client-ip=209.85.128.202 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 Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-61be23bb01aso28184217b3.2 for ; Thu, 09 May 2024 17:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299801; x=1715904601; 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=7gmE/+1tJ7Ep2oqmr2taMm5VZCwXrcQv9eKCkUAc/7U=; b=NfPYhVCZw8/6vRnxi5mwooE+sTm/zS4DcErqO33jFYRyYjxzUKVdolwxgomkX2Ur0R l65rmdSEdY6cSGQS/D6c4smxibXHNbmVgSLEge1gTtRdZ4W68jzDEsAWU6Gs72xLTRL8 4ouG9L5f2HTZNxuyhOd/8DyoZlA7eXJ/uJ+PlXoY9PXE6k9MRljXDE47D+2hm2wrheGb SmTsrODv/3QPkAQm9/qbZcqKJ6r6FtbKdH9eyRlM55uvZSBjgsF0uIPMyUejVOpn7X3T MZZ9Okt7kpx2w7E/mv6ekgov6pH+DfgUx7XD+sVAV1arj7MSiefc1FLNxKnGYhdow8tY PrUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299801; x=1715904601; 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=7gmE/+1tJ7Ep2oqmr2taMm5VZCwXrcQv9eKCkUAc/7U=; b=MQIG0LSNzSTx4dlXzyU/IQ2xkaMQ91tKM0/ZKhiRYBfCvzX2eaqrp148GHf6wcBrwU 2hw5PzM4foHidhXoUI+a52TteToxMAyriyiP4RrqK0FG8o20jwhyIBE3BnMaL0s7V7pj TPiwiy6gX7bf2nsNmyFgBi0z/XynHXPFSi8o0CatZ+YzQgnke5EaVa1jjiD8WLH2Vthk EV6hv2y+7Kk5PeVkB4ybo6aTh6fSMgWI7gfJDlfqIUkeSPh6mQzScg+sHXI+HDRU1dO2 KGxVWklW3X83d7tyLK5vx5T4oaxrDulzBgSnE9QlCyaZqhqmg2bHRB/PWfa5DqKwZsKy xaAw== X-Gm-Message-State: AOJu0YyMbVZHF97T1s6wx8mMg0sBK51JVxy+HGzxtct6NcNXeM9r4LId l7GjupetO7+lPoamjD/PopLWTGFDkpBqtTlpMe25rlZM7yxcPLbSLeoqT4auwqZajkkZ0SnFVjD q+A== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:1002:b0:de5:9f2c:c17c with SMTP id 3f1490d57ef6-dee4f37bbfbmr289205276.9.1715299800737; Thu, 09 May 2024 17:10:00 -0700 (PDT) Date: Fri, 10 May 2024 00:06:37 +0000 In-Reply-To: <20240510000842.410729-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@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-21-edliaw@google.com> Subject: [PATCH v4 20/66] selftests/futex: Drop duplicate -D_GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, "=?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?=" , "=?UTF-8?q?G=C3=BCnther=20Noack?=" , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , "=?UTF-8?q?Andr=C3=A9=20Almeida?=" 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 Content-Type: text/plain; charset="UTF-8" -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/futex/functional/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/futex/functional/Makefile b/tools/testing/selftests/futex/functional/Makefile index a392d0917b4e..f79f9bac7918 100644 --- a/tools/testing/selftests/futex/functional/Makefile +++ b/tools/testing/selftests/futex/functional/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 INCLUDES := -I../include -I../../ $(KHDR_INCLUDES) -CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES) $(KHDR_INCLUDES) +CFLAGS := $(CFLAGS) -g -O2 -Wall -pthread $(INCLUDES) $(KHDR_INCLUDES) LDLIBS := -lpthread -lrt LOCAL_HDRS := \ -- 2.45.0.118.g7fe29c98d7-goog