From patchwork Wed May 22 00:57:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669988 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.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 CFCC7146D64 for ; Wed, 22 May 2024 01:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339632; cv=none; b=Sm8r1EjzDYjrBnexxVi+VzjSZbF1d0K5ZdeHkZZS1EvAs2p/0zu7Ay+7oaB+0apfjTo90+E2M3S4P3KhAbfeRpvoXbUCCl1vac5C2ZdnZG8JlNZ6CGw4TYTyGuaWSQ9dJyVVN8Xjx76K+tBaqjVoXdQckK8qS8dL3vUhFkSoTAo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339632; c=relaxed/simple; bh=dvwJtXLo89BRunIsgfbX0Q3xKjn6Yo5orBzSPFtXyy8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=cpo5Q0mj/wg9BRLdF7XDAcashOjF0e07nEy5JpsXLg2sjHnarHj6kRZmhAN09Frd3AiRTLh9DuIGAaAiIU1vTLx8yXS4+1IGkHkYTJiyJAn2pJHAi+QUvhhpegKCcH9aEqFzLhMzPMwohJvggvn4FLVViGQmcx75tFnrSDsyevU= 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.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="P3UqdnQR" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-1f31eadc3a7so1333805ad.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=hWD5NYzdQXFQh7+6VzmsP0uPZqO5Kuar/8byrUBNrt0V3X+10bz2RQrrjZUWc06ndB rqOQYiPLQjGbYZlsCqoWr+PT856mM9XEF0zcNO5sPc59FRYWsvb3f1gnUb01H0HQCtsH p+b3IGTgDGnvpaJp9usofwofkHR7FzQWYPW7zWo5bMxfGSbiy27A9UvuQ++e0QEgkDAE vT/AX5mQEEEs9zrAOZPOvDqJW4OHAB4QgmGlgexJ7U47jMlQpa+C2LkFrecC4DX09TB3 strEQrzRqC9OJ8OFzJ3jDXpIQGvot1V/F8Y8FJpIvAR2WMnAfzTG46XJf2Yd0Z8sAled q4dg== X-Forwarded-Encrypted: i=1; AJvYcCXEiY+DGyaBUzKEySQZ6XkqcO47/KKmrxPraf8/VUYH91HqLBT1xzaeCA9uQNOdU1e/lcz3VmqxlD7PT+5UgpcI7YJ2cEyfqG0wUVYhpjmgHnmFhHoV X-Gm-Message-State: AOJu0YwxHb0ZWgnrNyG6qlpIwYoUXx+GP0yjcF9ytI/gQ13Q5pS4DB8s xaK2UhJsFSUVSjo9CTRMuGXeg3/DyG6q6HB2DJHr0DPrGQKizgajHfOhLMjcFU5bony+lWpHrS1 cXA== X-Google-Smtp-Source: AGHT+IGqHThcRUahWbcFDersReMiS//nm+v/RIRKei4uwQwaSYbb3yGxofUUHSGZKuMDuE2fmv9rxHnFGrE= 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-security-module@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_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 , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Darren Hart , Davidlohr Bueso , " =?utf-8?q?Andr=C3=A9_Almeida?= " 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 -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 := \