Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp51351lqp; Tue, 21 May 2024 18:08:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzEjYWIPlJCSOdBECA+Ul/bol+xmDfN1wfuN7b7He7TnnX6qHOa1m3LqLLIZXgpkE82pfmuvkmgghOIgorvvl9G7gmdqAuZjZlvMUZOw== X-Google-Smtp-Source: AGHT+IF0SlyFgRNK4hZ+wBf7lkmif3SGCdUc2WK6Wl0GU3LM3fG1GOjcFgPshI2kdyLzgU+tS1p2 X-Received: by 2002:ac8:7d05:0:b0:439:baf4:619a with SMTP id d75a77b69052e-43f7a2e65e4mr201973741cf.22.1716340108480; Tue, 21 May 2024 18:08:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340108; cv=pass; d=google.com; s=arc-20160816; b=pUmeRv9E7BFI8zPze6KTfHFXNbwFYDcDqebuKbWOSbz4BgAtMHEfpGhQnv/2yxHsml y/JaRRPZVTldXjcIEbrlDVJLcL2QoQ1/1f8mnyU8VAr/Qp2Bjvd0gUSu8WhhRgRunHxn 3PilIuyJ93HoOSLvTVgJPYqWD5sHswhSgAvXEnSLX12sH76wz/8zMkdFTnlRjGsqRf+2 iltckUMXFdwAPS5VAEcMWyVbqzb7RAc4GRj5jbrildwfKLKQlZyucZ4Q6MkqrfhGSQz1 yAdH0f7hpQbQHfSmZAS3ox1r6tlnJ6mOxakX3G6nGSkOG0hLfpjkFiaAJskK/ZO4TM70 myug== 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=XgrygNW8FFpQrXyNymzaa0urS9281wEmpt9DzZAFNUw=; fh=r5hw/whOzrdnLecTIrC5ykwNZrpDRnPIdIU+xHpafUc=; b=dVKb4np+Skc4zYsEDxOEhPXTb3WlLrSpZ3T0DZTRaGs6legA6hXSaGVAHpvZkP2TOy oaEd1f1drkq8Y7rhkzIQ53mooMm+MCi0O6WzngoOyiSLx8ZlGeiIDgK2TqJ/hFS8x994 mNFjhGGEbUImiq1Cuznryo2YTi1nh0tXf2t5o6HNR3E+JeijEHKspEid6Z36Auggvnr0 nwi5eaIIbiVtkpP+S++OyRgyYZu1yhTNjzB8r5iuzspAl2ggbpAvsexyIE3IhLVHnFGP ng+/lCsdxI79OaN21oeg1Im6MvVjgdVoooD0F+7Wdrfyz+MX4JOiEBbccpniXZaV/zbm 86TA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=P3UqdnQR; 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-185596-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185596-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6aa9d31a721si60406206d6.163.2024.05.21.18.08.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:08:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185596-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=P3UqdnQR; 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-185596-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185596-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 392B81C20CB7 for ; Wed, 22 May 2024 01:08:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CCC2148312; Wed, 22 May 2024 01:00:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="P3UqdnQR" Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) (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 0057D147C78 for ; Wed, 22 May 2024 01:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339633; cv=none; b=t7oSwxbP2ibfUCI8BTwZ4IejrwfRCnTTHd/3LRHYVSdbUJx9jWIB2YumEjGeHLgKi614gPJuYCEiYOXzDvc75dqJzs7+AVHd8PWvFkadIG8Bub4NYM2yD7xVKqDapuiiN5tADZV+iZlZf/s5HZpEp6wXHn793IMcgrCI1C/pIYY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339633; c=relaxed/simple; bh=dvwJtXLo89BRunIsgfbX0Q3xKjn6Yo5orBzSPFtXyy8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=WvZgvN27r9CH/oEJPCbZns35THbEsYU6/11giFi0UhEvGcSSdb+2fBl+1a9r7GBjuqjmOO02upXUuvd3NyNcSV+fCZIA3/aoT9ZKOJcTLv1uHgQk3WzGfVtBVcBOHSfTo9d07Ydvfu8QanRDo0A66NZIROSHxkxpjaJwGd2b7JM= 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=P3UqdnQR; arc=none smtp.client-ip=209.85.214.201 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-pl1-f201.google.com with SMTP id d9443c01a7336-1f31eadc3a7so1333825ad.1 for ; Tue, 21 May 2024 18:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339630; x=1716944430; 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=XgrygNW8FFpQrXyNymzaa0urS9281wEmpt9DzZAFNUw=; b=P3UqdnQRfgOynmmjYRrF0zB/krSqkn+l35vukzrNoJbfnyE4MpaIhrL0Wltr+Bf1r1 7ZSVHmFY08lE46qqNI5nzR2mx02ZV3d/qH92789QWEDbwTEiMHjB69yQpRvpn4mWZ8OI F0u3R2ES20XrOrsnAIq3/z1AN4rOilcXPA+6lHoKBz7h2J7YmQdtawKaMjmZk4XSQsgP gwVO7ZCI4hnVTTqdpzckkwJiQWA7GU4ylSu4DhS4agwXOH39cG9/TRNFrRQKZj1jmBHB gn8H+QdIuhXHz+IU4Y0xknVfjmG+ow9xCaWbJadDLrTO3dsx85KnuQBfyses7ImVFQfw EoIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339630; x=1716944430; 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=XgrygNW8FFpQrXyNymzaa0urS9281wEmpt9DzZAFNUw=; b=PXkCtOf/RViAdmy2eo6qZvXB0He96ze/RGyIMViNfGQwvGlVPTj9WPtU62LfG5tYLS m/b7ONAQZ/aLA7e/sA6wb03gQhE8hlad5ChGIlrEI8YB296khRgonaq0YRtXIndS/gVk zf6OUmae+/5SaAOlKEE8ZiNT56+QftLU8nns46hXvTpEN/bqeq0OudrWCOCo6OKHV7Tk lbsUKS9S1o6jinEcBpHCGrjPm6l24TFXDw+WcsnWeKfR5m8EBWlZ9v2mJU2r7snLRhje fY41P7hDpWnAl9xsDaSuHfRBBM9DynGsPPPlQsibdJjJ1LYE7cFyBsK59snMIp2Mxws9 qV8g== X-Gm-Message-State: AOJu0YyqRXrR5MJF+akpscWYfYfVvYjZFTr1yrwb5iWhDZXmYIEliL4M FrI7qKxDN0jNDij5ZfXsoQd6z1fpcau1RZ/L2MRV+tuqR81QX8ToZ4AX+kIEBw1qggAD/Bp4PY7 73Q== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:d4c9:b0:1f3:317:50f3 with SMTP id d9443c01a7336-1f31c7f68f9mr273175ad.0.1716339630262; Tue, 21 May 2024 18:00:30 -0700 (PDT) Date: Wed, 22 May 2024 00:57:07 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-22-edliaw@google.com> Subject: [PATCH v5 21/68] 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.1.288.g0e0cd299f1-goog