Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp58147lqp; Tue, 21 May 2024 18:26:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQMBj0dJZQwodRuOvkUfinFFu0YX5OB1dBfMscIKJU4ps4FqoKfHT/NNVXKU1iirsJjViaaEFUt4LM/nicn4ib2al/jGoAPDHKYVJErg== X-Google-Smtp-Source: AGHT+IGl9uwfwFfoSCXNM3zDJMY9XG77RXPkIhBZdOf0kg2JK80HEjgq044hS2Dg3+acpsHsB90P X-Received: by 2002:a05:620a:214d:b0:792:bc96:8812 with SMTP id af79cd13be357-7949940a24cmr57373785a.14.1716341169677; Tue, 21 May 2024 18:26:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716341169; cv=pass; d=google.com; s=arc-20160816; b=QGpr2zwVG1kGBU8H1T+ThkmtPv5vNNhG3KiiI5B1mk2cs04X2xVUwa0nHdINMtbD1+ dISHnbthoTPi16UuPxRzMoiYHm9e87LEIMBTb8EPHNTcLcRvJYlv9h/lfD4Vci7b0OtZ /LRNxUASb2/d5vRXH4iS5xTMHk3Ca4grU6g6vRohjJFGghqsP2dIzETLb4V/ejhPNKxc g1puk8hFTF84PnU8lK5dwxZqvIrdB7Dy9GDCRIVDRs0T15ulCoDgLxE5irjnWqmXijkV PWkzBspZQYJuzhKiC0892aftC5c4rjxV+yPZxTIWwpl9SQl0GxbQmRLifnp962xKhFO+ H/Ug== 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=7mo4/yLDmfOkTNt7Zkt8yFpoQggSa48jheWSJnXsenE=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=PIzCuQOTxgat4dnnul//dynInkC1CEkA2+/cEKBCqvz5xco9E8skNzQsBxnQBP+NJo dAn5n0y1Tlr5tJu150YAgWCHpYSXNuvDdrhJ4WNij+E1ZKnbYQQUHdjWMq4L6e/dHLtG Gijmsy3Vis3lHNToXmaELi2Lhav2h/lk5HPx5fzF5YQN8KzJUUJLg9r0b9WKW51WgGTd Xb0YRO3HKSsxHFi2hgBwHVSM8/j3UbOttoPtAd74xJzOFcQ6CX7hxZR1IAv+eGOFqRd6 mzoZ9qjxuaafOIJvrkqhEH0F5z7Sx+7JOeeJuQXVnQJrc/nd7H020eS+9x2zmlwM6rTW qcQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=CSJPvDfm; 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-185642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185642-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 af79cd13be357-79318a028e2si1219604985a.576.2024.05.21.18.26.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:26:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185642-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=CSJPvDfm; 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-185642-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185642-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 6767F1C20AD7 for ; Wed, 22 May 2024 01:26:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 068EC15D5CE; Wed, 22 May 2024 01:02:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="CSJPvDfm" 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 D155115D5A8 for ; Wed, 22 May 2024 01:02:41 +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=1716339763; cv=none; b=RUd6hLJJvCy6UU1+io991mv832EtPS7oUTsdQS5jdpFYlcp1kQMG4PJWLGot6p8JX2VOAvGqEY3Ph2Pr3/D1iVEDn1Tkm24QF/d1hd/H0fgi+WCBevBpC5nNCl52ozFTO5QrrO/jq/JCkgJ3ZZ9KMO9N8TxXiGCUhwwKw1EYxgs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339763; c=relaxed/simple; bh=6uq+6nFiN+WYMciAtwfyDufHvmS4S3lOm//KRDv7Qhs=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=hZXZI6OROmrbLA+zttjLhmZEzDK/eVgGt10+YKopB5pkRpf6bZ30GvbiTt9tFBjNtsK9T9OVYYyDqSNpCGlIW7uGZx+KemXnBIjG+Z+pVVxIdBeZZdlquBQfxZYPJsq/xUa2YT/3IPL/FpeHPpZbuD+ND0NsYPtx/rNhTbQya3c= 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=CSJPvDfm; 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-658c282f34dso283693a12.1 for ; Tue, 21 May 2024 18:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339761; x=1716944561; 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=7mo4/yLDmfOkTNt7Zkt8yFpoQggSa48jheWSJnXsenE=; b=CSJPvDfmqPW0596i+DwpVPs1BAZ83VZpLxZdLsytlnQs9j4K4X2Vcm+izE0xN+CGFj nqgJkIOZDqVIBZr4DLB9SzgYdbBWNUoIVkhK5Z87LaAlr5FmQvRNkk9xeCzYiZgWBpEC pGHv9s7nbh+kL0sxFqWLFQJGP2SKgsGZAtVqJmP2pN+WBvtOY63yIuKnGhRoKrNjFN3+ poJRT4sIbHWnIbSrlFme+SprZCfJlT+AAlJN9cCr2VrUBWRSvsf/BZDlRSmwz0o28ENb BNchr4zD9v3WnazKIuvJ4RhsfH5nm8vN5ps3bSjrb11w+IsmepELwydYT/w6QCKBahd2 WNFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339761; x=1716944561; 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=7mo4/yLDmfOkTNt7Zkt8yFpoQggSa48jheWSJnXsenE=; b=YhvEg5D+jjc3y5uflx2sshm0ESF5MT7pDhGRFkXvaWDfgXsaCJ6h/1ZttytERZtmax zysanwl7SBSUGAx648tVV0c93KrX5mFSmA5HCf2pXVpcWEUG6AZwh9h4k/8U5Tt7REU+ 1PEmWgCf41SkJWrQpQVRT+C3KQNXrNy3y1FyWtsVRLhqZShUeUeCwqGabDMh9cz+kZrS MuF+FnQL08/dNjD8bPfUmx9FDXHjz9mcAXoOAPc3Ibj0Cs4ch/GwHZy/pZUaYVIMOaDW rYyama/aRHZCwMlR7tUc0Z9y659VoWc9DqR+h20dW13Ms1fdHwNtYVnLjFKiKguQ+T1O qP/w== X-Gm-Message-State: AOJu0Yz1WdARtyEoz2M9esdtPuao+LSQNJmrrwoTqu7J+ckxMAn4R4Wx kUPqbDhLRQkbB3lEmUt1hF/x+eLVDYIM6aH45sY2utVk74XyI843JRBidkd7zIfwtAk8Y3/boU7 uAw== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:d482:b0:1f3:c14:968b with SMTP id d9443c01a7336-1f31acfacffmr231515ad.2.1716339760811; Tue, 21 May 2024 18:02:40 -0700 (PDT) Date: Wed, 22 May 2024 00:57:52 +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-67-edliaw@google.com> Subject: [PATCH v5 66/68] selftests/vDSO: 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/vDSO/vdso_test_abi.c | 1 - tools/testing/selftests/vDSO/vdso_test_clock_getres.c | 2 -- tools/testing/selftests/vDSO/vdso_test_correctness.c | 3 --- 3 files changed, 6 deletions(-) diff --git a/tools/testing/selftests/vDSO/vdso_test_abi.c b/tools/testing/selftests/vDSO/vdso_test_abi.c index 96d32fd65b42..fb01e6ffb9a0 100644 --- a/tools/testing/selftests/vDSO/vdso_test_abi.c +++ b/tools/testing/selftests/vDSO/vdso_test_abi.c @@ -14,7 +14,6 @@ #include #include #include -#define _GNU_SOURCE #include #include diff --git a/tools/testing/selftests/vDSO/vdso_test_clock_getres.c b/tools/testing/selftests/vDSO/vdso_test_clock_getres.c index 38d46a8bf7cb..f0adb906c8bd 100644 --- a/tools/testing/selftests/vDSO/vdso_test_clock_getres.c +++ b/tools/testing/selftests/vDSO/vdso_test_clock_getres.c @@ -10,8 +10,6 @@ * Power (32-bit and 64-bit), S390x (32-bit and 64-bit). * Might work on other architectures. */ - -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/vDSO/vdso_test_correctness.c b/tools/testing/selftests/vDSO/vdso_test_correctness.c index e691a3cf1491..c435b7a5b38d 100644 --- a/tools/testing/selftests/vDSO/vdso_test_correctness.c +++ b/tools/testing/selftests/vDSO/vdso_test_correctness.c @@ -3,9 +3,6 @@ * ldt_gdt.c - Test cases for LDT and GDT access * Copyright (c) 2011-2015 Andrew Lutomirski */ - -#define _GNU_SOURCE - #include #include #include -- 2.45.1.288.g0e0cd299f1-goog