Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp55800lqp; Tue, 21 May 2024 18:19:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+Ii2joW+Jp+cvsOHjWW5SLvho3jhUf8SFS5o+UnD9l3JqWiCk8P2ipTRMHajI/Mcl49/keVwWotdZI4zzHx54l0vXC2ykXwKWNI8f4Q== X-Google-Smtp-Source: AGHT+IGrecC1VHif1zmnjLV8rr2Relp8rmrlQpcyod9amyyVQB6es8uH9LpKyMVBRPaHUgD19at0 X-Received: by 2002:a17:902:f7cd:b0:1f3:a14:5203 with SMTP id d9443c01a7336-1f31c99bdd9mr5812585ad.38.1716340772690; Tue, 21 May 2024 18:19:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340772; cv=pass; d=google.com; s=arc-20160816; b=Y3guqKsIc0OBhfS8/B9NwtQzKIx8RyFqv4hjmO8t/81xuTRn29Gz3q2rt41SbOW84w Qu+A40ezDT4p/nh8zFUEcFC/uWjhkwWAuWFql564Lju49rKqpIc/dQwvajVxs6ImammK /GqdKta9XvnOAJaDDw5kRLBbF5dUkIYu8/dA4V/UhWRH8XschFAD3nJGlbWF6Vl+XQfy EMOvHXxJGHgnMP1KW1i+1o95AREfRfQS7FRzqQ8FvbB4TP4HcvpMC4E0Pusf03yaw1Lv 0ay7lVhsAWd37iMdFP3NVRUSW8pDLJ3weyYWfXiTy++iqbviMjycUS8e12k5IFkRNH3N qzuw== 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=Z8sLKR2gMdZkVeKpBpgxiG+z3Q3TQVVoa/qct09zlNg=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=I7DLsn02Fqs4T6meFF0pF3Y8K4zegM5nNBUj3vSNrPJpmEsmKnJqOglCYyAb6N+/un aZO8R+a6dA7SMmgBD+u2pCpUR47igYdDHV9rYH5z2dmzLaZdiMcFAsItK8MUD+YY9LFv +OQLrOGUjgMqtSIjYDb+dRxe72bAikhZt+Ch+fsdXhjA+e7696Zz0vcK1HCso8FEEObv ycdTBwUvybAXjFkW+7gqQhz82YpEGzRVhR5wjpZQBvQmslxeh7ZqXFybM29aqqGn3gRF SWMvdLp0zCkk752krGBEHQOTOc5EtslVrTauqlh2KSVNxxSct084fX2Klo1HvqhJsLqU nbsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=oCcbTFAn; 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-185623-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185623-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-1ef0bf31a5dsi56138145ad.227.2024.05.21.18.19.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:19:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185623-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=oCcbTFAn; 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-185623-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185623-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 BB94F28480A for ; Wed, 22 May 2024 01:18:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AE0C15530A; Wed, 22 May 2024 01:01:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="oCcbTFAn" 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 0AA4F154C11 for ; Wed, 22 May 2024 01:01:52 +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=1716339714; cv=none; b=aIp/AFcFT2gduJjPmVI0YFRW6NgdJPJV0w23FaiqGyFDPVdnuXx+G9ztsjmrqR7Nse0rz94VcCmQsKGY92OHNw4iIi+MTgLl+UqZ0wZNgxcAJrLzuqJnVt1YG9VSax5V5LSU4VSItjpK7WM8aJZecyPHedd00SXq6RcqDUhZCGM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339714; c=relaxed/simple; bh=HG/fzBjmfKcxpb5f3B0yExIXXkrOGmT9xMnSqfeC5lk=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=gcBamtDMWCmSer5r8HWN50/5elVoZnZ7ZqU1MlsCzYvPUosWnYWBB5OKHLH8IkUffSIjEohSJ6x9sxqqapcPRLe0LaAEXjCdaEgvnhDHZHcphUyxgntwICRT+uu+jPwus7LmJ/p10oqfzeEpUiQ5l4vRlugvuoYXCVEakFix3g8= 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=oCcbTFAn; 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 Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-1f314d14930so7550465ad.2 for ; Tue, 21 May 2024 18:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339712; x=1716944512; 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=Z8sLKR2gMdZkVeKpBpgxiG+z3Q3TQVVoa/qct09zlNg=; b=oCcbTFAnLAL2kv1/D8+Qt6Un0xj8UpwQlTiwGN6BOMSMbwo5CGth3F4+n6b1fp6q2Z 0xb5jhKZNypiwCOgSeZl29sGLa8kzhzpnuAlzux1P9S9CuOhQbO+oX8ec61GgS5K4Bn6 WUq1iTsYGH6E7WfCAWmgj9cCdFBDwk/IKWIUu3p1pQuvuv5ooHChGxAq/Y62Nm0Viarg lX2KQWoQtPalOrzfTg8VM0aBzEaa5VTdNRJT8b2uv2gKQQ5WSTF9jqtNBizlI5rDs+oH kLmnmMfODzoaMNMKtm19TwlXmZ7CKjztaFoB/jES3CN4jsVBk5Xz/xXR8QOFIxkIc618 gCWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339712; x=1716944512; 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=Z8sLKR2gMdZkVeKpBpgxiG+z3Q3TQVVoa/qct09zlNg=; b=L8Jr46sFC1Z0UZ/wKfC3Plo4lDJp2TX+0NnXD+Q9Nf5RhrPYH9SnZqX+VLj10HnlkM Eg13j3tjLE6a09YTZ2k4o+LnjXjTr4VlWooTS8ia/Rxv3AKqYXAoL4VvBPrr3acsm9+Z VMIEpJfldA0Ry1NNuKTveYO2koyH+V75NiJDTn+VSsTebax2BCUpILS6MA2g5RUahfZo y07/M/fsS5ZseLCSFJzizY4g45KPxsVLLGRZe+PUUsWGjJvvmzU2SEN3ilurzMfuPhxD mpKR+7C7lXHum6oyteZT4bPsmkHFJYPXWpP/sAdIBWRnfBpuCsKLrCqw5oxPxpHSPGmP nnyw== X-Gm-Message-State: AOJu0Yzd7YEMpd/bFEsLBI4yS3w3tWhSEDQYiWbXtDaedM4T1Gp/imQQ GfmG4ip7hVIMHyUUFjfWGs1Usj1i29yJC0CPpD3yWeqsIMOVL6K6r6eLYK15hhtNsx9401yOEds pDw== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:f213:b0:1eb:51a3:75ee with SMTP id d9443c01a7336-1f31c95c280mr34845ad.4.1716339712356; Tue, 21 May 2024 18:01:52 -0700 (PDT) Date: Wed, 22 May 2024 00:57:33 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-48-edliaw@google.com> Subject: [PATCH v5 47/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 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 Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. 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.1.288.g0e0cd299f1-goog