Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp76004lqo; Thu, 9 May 2024 13:06:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdNrDXhq1d8Mkxksry3ieQjq4IHYYS36ZNspPeueJTyypSrRvwn6LuNRDa7HayRaWRDmUgsAu1JiMPv7fyBqm4QPW2bWJhH96xqb9Buw== X-Google-Smtp-Source: AGHT+IEyJULbirwsBAR7bZXlLfg+zX5+RLsFyZnkBO2kwmGKc2hrv51K0Kz/Ur0Dr5qI3pPLTOiB X-Received: by 2002:a05:6870:96a5:b0:22a:9c40:3782 with SMTP id 586e51a60fabf-2417290e2demr918000fac.11.1715285214113; Thu, 09 May 2024 13:06:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285213; cv=pass; d=google.com; s=arc-20160816; b=JpH3OBglLTO+vPU8JJ3D2NtMWH3NUcPJJW+vn0pcgWzSD7GbinO7C87Vb80gYTPBvs axOUKoGs2EKSMzvcD0UejvRlOYWcuuagWxiI35w/PyB+McBZPG+zdaq3KDrL5mF3PVpP 7fypnZ4jQ/IGJ46ALYnFQwCkMHEv7QzSe/huZne90YscEXUdNxqwp6Lt7jXYjRiOUjOw jhMyI95pq/YR6cMrheevtRNJJBVYY3WNwAXvAiHda/GVdms2Jd9dDu9aqEtfgi2cmF7J mTSMfyQlBkO8IdZQE2agELbfE3gtPv00KgOo8nJM8oEoxgQmqpafNn9Sed+LpnZq/9Mf N2Sw== 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=Vtxr2t6roGVtMPcMM1FHknLFjStzalAWugiF4GXwZ4c=; fh=pt1fNaKDwxUMVCbrv+WfkjzbfOCTytBxwkIzKprbA4c=; b=Qa3ojv/tT8Zxqj4UWH9qVWS6O7L7hOxFA8cVL7qtLM+PDInBNKMszwZDDsTGpOEmOS 1pfaHeszBC3ZLWUNGHEZNjf7uXmXq2FmtqcgtTvqacmdMBQJ+TQcZe+IpCxbI7TYBbzk j/lWYy02T9VAXEUi8QubHoou0ZFR52Ne78+r5SnRe6IiE0zRscOY3zzaK9Wrtk2K/tfn HrJeYT7+RvtKhrEbdqHD1c5jwhZH6dj8esQxg44Dao9xJg7irEF30HyHxO3OpuOVfbBz CD/viov/53DLPppSk3LfIzlsEVa4dlUuDwdenKOhOdJWsV2wed5QVSU44ENNW7lJQfGU sWtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=rSSPdzZd; 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-174862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174862-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 d75a77b69052e-43df56d1b8asi20126891cf.651.2024.05.09.13.06.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:06:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174862-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=rSSPdzZd; 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-174862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174862-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 522571C21F7E for ; Thu, 9 May 2024 20:06:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA3A4135403; Thu, 9 May 2024 20:01:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="rSSPdzZd" Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.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 9DD01134CD0 for ; Thu, 9 May 2024 20:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284895; cv=none; b=GJhm+FVdvpl9roAiJvLJ6EfLUX+rNrFvDgVtiQWUax9uf2kMOkxfWUAO+nFtcglt6nBVqi2bcV+B20wNoXv3RWu5w9uZPAAaK1nyDkF2YmVBzOQ6uRi/dUG0ny0OKv1Uv05DFA9FD4R8UCQhApnRAvQLpsn/djpWUzJKmWGiRmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284895; c=relaxed/simple; bh=j9J8Ny80zd5awmyYLYsG3wA6uJqzudyOon3dmH1xqB4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=a4H1nQHvniVSQ+xD03qMernA3MvBgCC3x+ve1dxbMVPivFtiOWRN8c7Yy7C0CWwB7fn7F/Xr98WdQUdUu4RiPc+S3eTVdgn0EKOhVun7TpaXY3X/+Uv58zCxc8HOHwkNS9odolod1w2RGdJhQZDi2RI461CHIPjd2zSrNm9vsOY= 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=rSSPdzZd; arc=none smtp.client-ip=209.85.215.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-pg1-f201.google.com with SMTP id 41be03b00d2f7-61b7d7c292aso1163381a12.1 for ; Thu, 09 May 2024 13:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284893; x=1715889693; 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=Vtxr2t6roGVtMPcMM1FHknLFjStzalAWugiF4GXwZ4c=; b=rSSPdzZdKV2Gvi6QHoZTRkMXSwT7DXApC/KzU6NTFi5n/qSgq3LfTu/7NJlgfCCh+h eb1JN9zwRg1cu6FoswNDAt5Cd5EcRfhdhfxSS02vzTb3ASSIephb/b9S/tVFBrofGtH3 pAgy/pAPwPcgJTC9KnqiO5/43cPDfyum1R0Nz7KXztwd4ZFiq4KoFVSa7D+PdOaE5/NG t0hu5HN1D41xDpiiyW2KBNdy59+imImJsNaQz4reP0S1kA/Merdi99qKprIzZc2KtFve x65XTsvzYO9zI20Vho6yk6JeEBTh7i2ZosRETImp1M+cjrY66A/m15Vs9ZJGSSz+8YUp thbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284893; x=1715889693; 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=Vtxr2t6roGVtMPcMM1FHknLFjStzalAWugiF4GXwZ4c=; b=KJaYMrb42EcYRwU6XejWakxAQ6+SyeW7WsrhlQ8zJEd+TaefPPdwUb/2lPOdXboKCK wXvXPvuFznj1z57JXkUNwPAbo0F+D/wBWV55/DkwQezSWz6t+sWrjwNZOFWzIzg1WVBt BYl3wceDQHeRZmyrpX/9PhAhhoeuQpqWRnmzBcepupqtrZczGs18macNtjo1Ua6DId81 2bJEEC1GYbYAVmr8oXk8prBkevfSawYdgk3FFdV5aN3Nk616PrOwHeBL3j5L2q2exihu s33o81P6GLwjN0Xlcl2gmd+Sp+SVYSE3XtakAL+JajSw2AgbvvRRNt+V6/ZqcxicUzNa egIA== X-Gm-Message-State: AOJu0Yxurvw2FalMLYEGFMew9y/Uja6Jw6aNT/9wvBSbJXgV+7+wBG3N E7vugNIcSlrJFPP8o5H4XU0FoBa5qTJFbA95cSxYhJU7gCnQGq+QgucTxeLG17HvJvGLvHKMzOR VdQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:745a:0:b0:635:534f:2090 with SMTP id 41be03b00d2f7-6373c3b52aamr995a12.2.1715284893020; Thu, 09 May 2024 13:01:33 -0700 (PDT) Date: Thu, 9 May 2024 19:58:08 +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-17-edliaw@google.com> Subject: [PATCH v3 16/68] selftests/fchmodat2: 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, John Hubbard 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") Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/fchmodat2/fchmodat2_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/fchmodat2/fchmodat2_test.c b/tools/testing/selftests/fchmodat2/fchmodat2_test.c index e0319417124d..6b411859c2cd 100644 --- a/tools/testing/selftests/fchmodat2/fchmodat2_test.c +++ b/tools/testing/selftests/fchmodat2/fchmodat2_test.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0-or-later - -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog