Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp82057lqo; Thu, 9 May 2024 13:18:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXT2xJXP4pin+MFdDCF5EjgnsvhxGId+sr8p01U2XLecIDkk9sR7NDZf1ndJk8yBixQ9rMld9Iqq74KxPlBU/Kf1CpmykFBd7FK5lotEg== X-Google-Smtp-Source: AGHT+IGL9gmdQe1ku08DIx4P1/G71kx3Mo7zdrLhPgTzh4swVWuk6JjzdIVonBqNA69C2dbK6yeY X-Received: by 2002:a17:90b:158:b0:2b6:3793:1c65 with SMTP id 98e67ed59e1d1-2b6ccc73011mr557432a91.37.1715285936888; Thu, 09 May 2024 13:18:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285936; cv=pass; d=google.com; s=arc-20160816; b=I2+M2teqtVgtljlYx09aGyBNOwy+1LPfpfxMFSRHVF6dkcMsDg5hsP6Wf7Alq2/vfs S1hnRx6zEAHHAf00iyLD0VsSAANLIzUK+2oQ3t+p0QBValkj0H3wiZ1Jg1uBxiV/mLLK 51eW+D7X5nXRF4/dFkMjnZGxx8opGdel6ucOWV6H+1Jy32FP1hBMibx7U8upkLNMzKxs 4qXSkIhqnvnbG7VuhnboFkOkbxQord2s3RESuNcmTScYmRzIJE89xwdrLd5xxdsbNUWp +92usFrTXf084g5Awn81jwP7wJ2rXBtAsT1RTD/oXBjv7hYjgQGjwLeA6ywR1uod8MkU dOhQ== 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=KO1mpsealph2ns58DuHURStEm3pFpetchjatfhL7qBmYDGn7tFawpmm48ggBdRwZuX laO3uqXZoJHq8olSPgiPd8az7bpcZHmhKKBxOUcTb5i3talL9kxuhnZF1sNu8qDKmU5z MYWGc8YSpqvTGFgUG7bW30WWlcto0jq5vtbx4fDu4rW51yic6J/ZxNclP7RCnLecdQtQ hIk1FDFuUVTUMCqBEAy8Wd5kpHd/IZFLkzAY1W6DCNcjqZBtnMP6rSeJG/cHfM6NG1XA tqvhPJg6NcP9kF6DOggTxe9U+/JZkbif/3RJFDMh5zr6/WOOFHVtLc3fTRYz4K3KagAo MlDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ILO5DlI0; 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-174868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174868-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b628a69dd7si1632062a91.81.2024.05.09.13.18.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:18:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ILO5DlI0; 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-174868-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174868-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id EDDDBB2330B for ; Thu, 9 May 2024 20:08:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0823A137C31; Thu, 9 May 2024 20:01:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ILO5DlI0" Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.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 E401113777C for ; Thu, 9 May 2024 20:01:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284913; cv=none; b=C7S3GjPPz2fUzR8otkwnmPeWHDmpc8GU/G3OTu7lmCgmq0HMgqR3j+Ie3CyZfiM5EVgCsSydUGjP+CNtuMDK3NVH5wxcZTpsN1OAZ2Hl93ZDwetAi4+qfWwMx9hBKzt8kSJdNNL5UbURVQo9Y4G34JqpI9FJpSq0jUZ37/qS6aU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284913; 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=EfpCvlEtdYhflalPFZwEggKTgG2wrIMODj02UcRf5O6HHGN3R+PLZ9gumga7hh/D0oqsdyPjk2v7QtDrz2chJ/Xb6OwddM7nWY88anttiRcmZt7fWD5UDxPHznlnO9xPY5RCAWorVMpyi9bgXHRL3mNlQU/DTbJKR0sTlenQsMQ= 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=ILO5DlI0; arc=none smtp.client-ip=209.85.215.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-pg1-f202.google.com with SMTP id 41be03b00d2f7-618a2b1a441so1731908a12.0 for ; Thu, 09 May 2024 13:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284910; x=1715889710; 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=ILO5DlI0jHo11RJEV1jUBlMw6NjsfU1gUR2zLuPOc9x4CaGpBT7LMLF6Yi4CS4xaGA PHLdHBbsi9u0CGsYKfKYS2DDxwvXME6WWy5KXqRXebLiOFJ6DVBz2On+fnDh+gR8KaX0 QMhoBi+HFjI5luhHtGwhHzmnsronYEWvNnl1U0xAdQTZ4qH7kqVe5N0Hq7haPBgOnZDH ptQTmC00rByMG0oHAbrHcXMiwNeOEKLPHN5A8F8qcMckrzRrBm5uIksPfBnjrCPYauON HpkUrTRWhxOpnpdyUChzMHJLnHj1cccIbtDc8bK6s8RUuctTyBz7SaAD1phXucjvZi2f aLow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284910; x=1715889710; 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=R+Nc/wab16ax9Ha5AXfw71JyYYssda4esNt568Ayn8fNwi2h0k5377IppGGsjOziG9 b3UX8VFWuJhJWXfvFffPwyqcsSaGmbPksCw9FmjgiF19ZQHIkAbqQ0HAM65+2BTFiS8N VCT72/v3G9A/Cw+VcKadcWgEDa9N9S948w7aEWg+5PQ3qOqig1ew/o7d4OX4vvlFIEKy zQlymvFHv4sxTu8cIvxsX5L3YX+fp91tcwLmIsjcIomQ/7pnGvN/BeKcJ/1DszTHQvaY h/MP4xu8NALUktJDDcqUzgv3lHiocSP4QeNRvDS+niHYLMjPdnP2PooQUMpDqvVxhBP2 dk+g== X-Gm-Message-State: AOJu0Ywe7Vy/aOY5kM9jsaKpkPPRhhVv+6EMz+Tcfy4SFBLOtNBvxVyF wTV0yQ3QI6dUUQKLx3ra9CG/iKVP+JwsRRWrkqChWLDgBccnXC6FbSk/HXlor6h5k2V1qsE7Byv deQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90a:ac12:b0:2b6:4220:159d with SMTP id 98e67ed59e1d1-2b6c748112amr23447a91.3.1715284910169; Thu, 09 May 2024 13:01:50 -0700 (PDT) Date: Thu, 9 May 2024 19:58:14 +0000 In-Reply-To: <20240509200022.253089-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: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-23-edliaw@google.com> Subject: [PATCH v3 22/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.0.118.g7fe29c98d7-goog