Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp85990lqo; Thu, 9 May 2024 13:27:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVq0odgeL/KFxsMjqY+KJOZRxTRyVaQVm6M36+esUj2SwoFF8uT/JqMexGiNcjKI55VK5r0GvcV2QElhry56wwrTC32IiB8LJj3ltOr6A== X-Google-Smtp-Source: AGHT+IHboX3PdmB6ejY3ugkIgpN7Po6qIiXmqX5RGkgTnEWQv1QKrC+PzDkE7U/VZdFMBPCsZoS0 X-Received: by 2002:a05:6358:7505:b0:183:f639:2415 with SMTP id e5c5f4694b2df-193bcff26d8mr59602355d.27.1715286449831; Thu, 09 May 2024 13:27:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286449; cv=pass; d=google.com; s=arc-20160816; b=m2J98qC8h+i1XpzOA4dxN5NR1XQpfCgu/Lfgr9ipGzgJWl8loFyYZr6hgQ0q5UR/T2 1axAx2j4kkt8cgEZNtZ1CpsX4bGsDVVlX6Up0XvS06ltPbRRipY3zlPZLcLZNQJRcoS/ kmTZX9M+DDD09JejuVJVHNQXEg6K0jVEhOiNdGQq+O9vJCAYdjNtazemSfyvblAXKJ+s IHkOlKaRCsSNI3jJdbmiT9JngJ0EEnaZI1m0T5qHcYTN/OcFwqEgWNAJ+NZO0Ca5EZ3v qVCfRpuxrjHiuHiHkNKZ5D28eJ7MAGYs6PYMF99alqgift8M05X6vMv18SrIFzrttlG3 GTXA== 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=O/ROtSes3ZQb3WG9zfhdXtPEPHl3PoGiMttA81TOGVo=; fh=I8v/LepoJoSaZLiLlu5+QT34X5kQKnr8VZEuqNoCvq8=; b=g2r7xDe9E31uV1Q1yyuane2ClVLyzy4Uh/lgMAvkGNTDtIBMnEuUGu3dAhcPoPaJnS yCOnVJk9wVNgwpRREzVCB/NcS+WvTKLmILCsWG5My3280Y47jHaEbUJk9Oi+Oj+QXKyD Yj0ud2k3JENHEDBH8solhMZVUxvXXFIzVYSDO11ERqNMUdfkv3k8TH+zhmIQffnYyWbu ZaBHUC5d+uK7027frl7LtnP9pj1NFsemlJaIDO5qHrtXuWZA+sDHeqOSr7xY8H4JWtps W8kNt5dcrXp1F3QNxufJM1MggQP/OV+AwFmNtGie3Jnuw6zriybPMkKtwfriCDxjMONB o8+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=W507AtNA; 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-174887-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174887-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 41be03b00d2f7-63411530b55si1985102a12.452.2024.05.09.13.27.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:27:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174887-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=W507AtNA; 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-174887-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174887-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 C9D24B25115 for ; Thu, 9 May 2024 20:15:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E87C813DBB6; Thu, 9 May 2024 20:02:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="W507AtNA" 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 8B14B13D89C for ; Thu, 9 May 2024 20:02:45 +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=1715284967; cv=none; b=aUiIiSdVjTvDW9Iqqe1fzBKQ1TGCps/hyIJZGtlzebNvDIPZDD5lAoOC4LQgIFH2YKa4hgZ8vica8DzUhYX2Y03jErbPlW5u4ysIFIkZYTpmScEtefiR9HZodh38urMwH0t8zKr+TvXLIWpLQYxuQG46OVgn7zGhyVaRwFj09+8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284967; c=relaxed/simple; bh=+slCGtFXvcRjQNf9pPixrF7VucIjnTrEcVdfQN1I3Qw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=vCs3aaJwv6PVQ1jxd0lJuBzXXsZvjMgJermU/ERUvSshx9tVs1NEaj0StKC3C0WNeWi+uzd1Z3Xa4Ca/hOaJxmKSWXeYWmX/VCuLvi0z/kT4Rkl8qGJGIOOCRyOVELaL7L/MlnzZVTdrMNkj7vqxTjT7UhpRL/dZIfT4epxxUoI= 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=W507AtNA; 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-1ec896dae3cso11870075ad.0 for ; Thu, 09 May 2024 13:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284965; x=1715889765; 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=O/ROtSes3ZQb3WG9zfhdXtPEPHl3PoGiMttA81TOGVo=; b=W507AtNA+pZUQqou2EZd9Sie6CNxjyTU7sCi3FFBXhwGK/XQBVVwRTjWN0yIrUelVf mNZSX4WiAuNSe8d1eGWFM7RpsmDydQs5qr1q/vzOV3LSTjqcFLYZ2BH0GbAKQS6h7OrO UoMhYUi+jvhWBjVkOMmW4oS49z7oOEoRgwJtExi6Nrp5tIJKw9PA9BwvzV+b4k94EqjB CMClzuIWKr8EHMWj9U6GhQh5KJtM/tPMQU9QmL+WiT2HOPvNXHESMVokymSDrS+bp7ap y+2j+9KT9driNYKph9w//69YzEOAPk/ziuf1o4NNGyy2xT2AlYmKXBoFUm/okKETXLHo bsBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284965; x=1715889765; 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=O/ROtSes3ZQb3WG9zfhdXtPEPHl3PoGiMttA81TOGVo=; b=I9xOQkv2Twk7h4Gdy9TUsQcaoZV982ckNpoJRShonL/oA4d4nqoCm2VXQHkt7jmjyH MtyBtv5D0U3y68WsO6drQuhQhwHiHZazYvgCEnVZ5OG//vRVMssJE1Lg82raiUk3e4l1 D2xI4CKVpijk3Rd7cR8aHRbATZVWRFNPeXRRH4tTdHFo696jXVjJ4Wlx5krlh+58WgmS gHyzL5HzvLbLWaahlGP9G7cqVZoeQZKnnDZD19JEgcIgm8iT2Nn6RBUg7IAxGAbSMR1k CQfZ8z03bpe63Ds091oL2mZKhOWQkwqmvo8rPFPIggiBfkVrcXz1uOxTJeaiauRJU97w QBZg== X-Gm-Message-State: AOJu0YyKzy8m33y3IF/kf7QoqQQ17WGry8CpoCKcw2A0/qqqlMgoJ+91 uPqN+6Y8PSfrQ0MjO4CxC1OdWSX4ukibSGSptUcAVyXsE40KLei3RMdm/6VlB3GpyC5/dEQ4s1v yWg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:f54b:b0:1e4:a76f:6da1 with SMTP id d9443c01a7336-1ef43f522edmr136425ad.12.1715284964895; Thu, 09 May 2024 13:02:44 -0700 (PDT) Date: Thu, 9 May 2024 19:58:32 +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-41-edliaw@google.com> Subject: [PATCH v3 40/68] selftests/nsfs: Drop define _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 , Edward Liaw , Muhammad Usama Anjum , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") Signed-off-by: Edward Liaw --- tools/testing/selftests/nsfs/owner.c | 1 - tools/testing/selftests/nsfs/pidns.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/testing/selftests/nsfs/owner.c b/tools/testing/selftests/nsfs/owner.c index 96a976c74550..975834ef42aa 100644 --- a/tools/testing/selftests/nsfs/owner.c +++ b/tools/testing/selftests/nsfs/owner.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/nsfs/pidns.c b/tools/testing/selftests/nsfs/pidns.c index e3c772c6a7c7..9136fcaf3f40 100644 --- a/tools/testing/selftests/nsfs/pidns.c +++ b/tools/testing/selftests/nsfs/pidns.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog