Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp82026lqo; Thu, 9 May 2024 13:18:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXc2irKOc0UjvZdV7NQiPz/mENSu6iixdbmtdaBAX/XtU3xdXh3DDPj7RpQ/56WIS90X2FzhjBOEvIxktHgWU1eOcfrHweeZL153bgSyQ== X-Google-Smtp-Source: AGHT+IHTbD4XG4Le3OrtBYuk9D3myTlj7PxT6NPZTBCixgqcOB4NETIrIyAIFo7Jjnpj7OSa0c3O X-Received: by 2002:a17:903:2288:b0:1eb:dae:714f with SMTP id d9443c01a7336-1ef43c0ced6mr9241385ad.9.1715285931688; Thu, 09 May 2024 13:18:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285931; cv=pass; d=google.com; s=arc-20160816; b=KPDDYiqIH20IEa2nV8iNLKQgwn1WpKckmBcjyC7Z20iCkyQzuhFXMrTxw8favIDppf A3eLqOuVs3LY86jopfJpytlLN+kjAN1/iXqSbv9Zi3QVgn/BRzjdUB0tbPF8UST3Av+r AR/M+F5rJWKSaA9dPBjQnmnriaBo+u/DoCy7YGP/6udfJMD09uMloLivaum46DoOL3sm 7YYhL0IBWaQ5Em24nrbSBdUY9dmov1/U5bNdsSl/DNoZyyaacgyTqJohO3x4F9umR4Cz ZP/pGU80H/Q+ZL2dhgN6F1J/eGHReTsrDIEXat9kLekEG27rW6z7Dwk/k0IZZoKSBcXQ 2C9w== 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=7kj5kZHOgeTEFE9rl1cg+M+RfV2lbnnrAzPZA+2Lqy4=; fh=mms7+Ggd8cXQnqDYyIurrP3huBSbSPcW9NevdFqXMcY=; b=C/APemUaBtrHqDCTMWsQsRg08X5+rqneVBJgFW7n3paANLl4JO+o85BxOmYFB/lZjE qHGMuYt7K4N1JKQI9BmFe4fANNQ3ZT4z3tIdn6/lYxKJ9mfoFfNtf6UL8Mb+5CxnqrZX gn+fnVJ57kk3wrcTSOdwtBURRoTfZ42KtNWtqmHyVENBk/a9CYr2WgGqxh7rdG1O9GiV yNq/cb9j7ng+XuIaRBkRwV69DgHxxoccOTnQj7SbwdeE1i2W1RpUHO1mekzmi+rm7WEB G+hkTDIqkQe9hXFJhG+/wK/AoSFrhkpg4y/DpHh6OosEdrZn9h4zlHR3+QFnZCMaj2DJ hPew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=F+YyfEEy; 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-174896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174896-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0b9cf1ecsi20366115ad.75.2024.05.09.13.18.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:18:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=F+YyfEEy; 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-174896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174896-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 21C9028D845 for ; Thu, 9 May 2024 20:18:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB33A142906; Thu, 9 May 2024 20:03:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="F+YyfEEy" Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.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 807EA1411F1 for ; Thu, 9 May 2024 20:03:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284995; cv=none; b=JgLZbsMBUxaRNNxy24dbBLF7ePihAruELZOtyuXLwR0JbeNWIgOqfTd6RulZ13nQj74ASusW+Mofov/94zN+4TC2IRjpTU6DIezAtuqE/Zzy1wxROHq30oVF/NIIxBljSzFnXDLZDElgv+Np9VpIRyiCVX8GwZySsCswn3G/DtA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284995; c=relaxed/simple; bh=mj1+9C9mGGt2xAUv+e7gPU5cUpp2meMCMmhcAJTBnKg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=QB7HWtR91s876H6xZSMcGVrZqyFlPOOmj60FHhLTpTrlWnjuh0hfN5m4Bp4mNfpnCG7wEugeZ0ySbobIY/2Qxh3g6vFoiYax4kkZIwLc7ZW7kbbbMLDzkSTU4ximz+vuZsQH7qtujX04lCZotGWChY4X4VPchJfZ64nspHKoKlQ= 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=F+YyfEEy; arc=none smtp.client-ip=209.85.210.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-pf1-f201.google.com with SMTP id d2e1a72fcca58-6f468ae6a5eso1210552b3a.2 for ; Thu, 09 May 2024 13:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284994; x=1715889794; 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=7kj5kZHOgeTEFE9rl1cg+M+RfV2lbnnrAzPZA+2Lqy4=; b=F+YyfEEy24HlJ8TvMLojXarcltCLl3eql5xFMpaXaa1nfm5Ot/ODCI253Zk5l67W0Z TMj7Hb1ZqVDyjGE7RgYwo4wDgWKhs4HqJjuMsUg+VAY18K1Mrc9azxPRrhrmyh0jsgd1 KIvfcXR8Q1Wmd9n+LxGtcl131g+8ujDX2dkA4pIpG0L2+6EANadHjGrFjxaGsJcdDNli ebUYJl33+PnI+4ciG36J4DNzwaJQijQ3zt/KuUp3FvD6iqtt4Lcy26Q+J+QIq7c2wScR YQhCMrenamPDwHOGZMDPFAEc5ztn0cwYPb+vdtIiMJzF1oohHls1RAdWkRmpW+lO2Nia kE3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284994; x=1715889794; 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=7kj5kZHOgeTEFE9rl1cg+M+RfV2lbnnrAzPZA+2Lqy4=; b=I4IezIKvRBS39h34YG28t2naa9Sx2fsoUP4oPRqIepAvHxhInP/uTD4YMc/aK8BNRA 9s4aQ2Zu4mesZqcjfEldNcvw7W1qafgWi3Kyx4mCQmv9RcPV79IVWMNJSQYjY6SRifG1 XBAlUMHfsAd+eqEcB9DALApaMRvsSfgVetv2rhEXTuJpSCn0XePmXXRTWbC8vBEnDPk4 bDb0sVtRWF3kdj9WpI+4WzauAj8BP3vwUm0mgRPm9SSCc9oZjD9I0vFoEme8LlT4kkdW kUml5enDZ2I+AHeIUCWi9Qdp7fhGiOQSv0g45qVrZwr7cbwyo+6YsZgP3+NiYKFi6LUi x+fw== X-Gm-Message-State: AOJu0Yxpux2XcEXhKZdmIRf0/0JS3TAoHcoz5A6YlvKdOZKZdGgvTjk6 lTw4QjxcNK/BKbbtcG5J7rGKFB0tA+AikK8zO9WnS2A50RDPZGQljXJNsZ/IRdYORkopkVJi6CG b5A== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:982:b0:6ea:bdbc:6b5 with SMTP id d2e1a72fcca58-6f4e029c2b1mr1517b3a.1.1715284993800; Thu, 09 May 2024 13:03:13 -0700 (PDT) Date: Thu, 9 May 2024 19:58:41 +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-50-edliaw@google.com> Subject: [PATCH v3 49/68] selftests/ptp: 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 , Muhammad Usama Anjum , Andrew Morton , Edward Liaw 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/ptp/testptp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/ptp/testptp.c b/tools/testing/selftests/ptp/testptp.c index 011252fe238c..ea3c48b97468 100644 --- a/tools/testing/selftests/ptp/testptp.c +++ b/tools/testing/selftests/ptp/testptp.c @@ -4,7 +4,6 @@ * * Copyright (C) 2010 OMICRON electronics GmbH */ -#define _GNU_SOURCE #define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */ #include #include -- 2.45.0.118.g7fe29c98d7-goog