Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp85095lqo; Thu, 9 May 2024 13:25:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV9zDfoKWxY/jy9yq/1alDUNBFozGYHSG1zAywbFRFZ4Vlodtoeo/IELgcwpJKc4tnC+0lOveIxXRFbsvlSUBDgFL0UOU7/WZ14I4puvg== X-Google-Smtp-Source: AGHT+IEpDByo4z9uSib9eJ7rGP/7qk78CcgnuSUqfVDEEZgp5VDQGfV4qDUBNst5stXc5xYK7RdN X-Received: by 2002:a05:6808:5d4:b0:3c9:6e55:e24c with SMTP id 5614622812f47-3c99703078fmr705962b6e.11.1715286322690; Thu, 09 May 2024 13:25:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286322; cv=pass; d=google.com; s=arc-20160816; b=0mE49Aw3Lr6L5TNITPCs5ERUFVWzXTaE4slTJL89MWhwfSV3dVyLdqB+d9j3GfTi8l 6741CCd8Du3KFuPPoKKvvbeJUvD8se/+OGYNAZvJHhPq0V8qfrBSxdOi/oB5WHX6BV7O STZGI2/sOQHW6pUwgTz9Y5msXh6sBmtY6Pq2PLk1gJYp1NuMoGSoc6gzoATBIxRZhe4Q 3FdWZMXUSIJT8QHt4TZdVQHrUEhhgRzHgEcd4FyLVP8Fk2Fm9GnYi8zurS2TUDfH/Ay5 HRQYWWrevEEBMrd0pGeOu03kNNk6Yjcn+/z08LWdc2SKB2IU8hw89UObyIbwfiNNnkYB aKWQ== 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=CpR2fXzwrU5rpm47H0npQ28GT7MWJnlw5HNOpJYAkd4=; fh=I8v/LepoJoSaZLiLlu5+QT34X5kQKnr8VZEuqNoCvq8=; b=s64E5yGdTGU+S1e4ZwQxInnSWPyoyQpOTgAmbZ1lMNU1CZ//WwBYh2Ed6YTIKzrsDl YHBZ4zf3tfXu1XmnwnXLHYNxnV77qSVw3jhW7qkQYwbp/Qm931xPtxaavZOTvqolk8FS uNJLFofujISxspYt+HCvn+Hvq4+08prQx76NWBfjsY/7j+LHyUKFPXIFGi8jQXM5K8go PWgocx1tUFeI7hGfs/JF3YYYG/K8fDP3s2CR09EXLtVx82xqxwMpG44kz3BR06Rx3ry2 qD9/vAHWAElTMXctakhWxYhvrU0xjZCxUHBmXnUEVS1TeZsVTRXnogsL3fMmnS7Zd/14 DPvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=XCORQWUc; 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-174913-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174913-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. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf30ab94si226558985a.336.2024.05.09.13.25.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:25:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174913-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=XCORQWUc; 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-174913-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174913-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 4AE5F1C20D41 for ; Thu, 9 May 2024 20:25:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A1E614A084; Thu, 9 May 2024 20:04:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="XCORQWUc" Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.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 D217D149005 for ; Thu, 9 May 2024 20:03:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285039; cv=none; b=odqn/2rRGOMOhm1ZWj/0/TMSKQ69tvil0J0Mwk/bRq0AUG2mJkWyi0zbA+NDe6+1K8ZDFK47FHtOjyQEuq863MLaFRxRVmevBo9cYPXucjzEHcAZ44cmZkEGAYieToRT5e6k+XnrfU6uPvZscaSsl9M8KX6LKvSzS4zKoUtUsI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285039; c=relaxed/simple; bh=YGdUWwnBUwtAPSGnv0RCxLjda7Rt/VoZWS4Vf/iu688=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=bjpssFXROyxR9KZNk+Y3O6amJ4UjC0/nGX1GstE+dOQ1jG6iwMrQefOZU6g8lOx7bbTycx4Je6/Iu2oUec/NCTLKUhQMcKUwb0rVShOa4kzlZocH6SP+vq4v/P/yF3UmiwT9IZZiFh+zCvqE4OJ9ijWisvoopUuOKf0Ai7E2Gd0= 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=XCORQWUc; arc=none smtp.client-ip=209.85.210.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-pf1-f202.google.com with SMTP id d2e1a72fcca58-6f452eb2108so1077955b3a.0 for ; Thu, 09 May 2024 13:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285037; x=1715889837; 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=CpR2fXzwrU5rpm47H0npQ28GT7MWJnlw5HNOpJYAkd4=; b=XCORQWUcXmszvPUYNj2T9+FZvDLLqqvNGl1O5aQ15WjMruZKuZBVqA7IjloyVtLG5Z Cy4uq1J+/oy2HoEmfuqwDJM6fPORb/n3/+soGlVqf0uYFD6T7j7gQkNnfagz+4USGQ6H bLgHm0zbVyWtDMgVzKNFDVxB9di5yaVzdraFKDvzNnTwBQCGXax/8uE8ZmCa7Ja3efM9 Bz0Qhh3iE4hYwyIpEBEV2Zrbx3DaJQ5kgcpgZ7DFU6xvKRDp43KY7valBw0mlMfKOPlf oY9uuo63jx9osPLBk61bbpbYjoyUSBFnltkC4VA7KMeNAABo/b/LvD9OJD9q1j2b+/d9 mmkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285037; x=1715889837; 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=CpR2fXzwrU5rpm47H0npQ28GT7MWJnlw5HNOpJYAkd4=; b=QeNvCovjxf/5UXMylqnKmbYlg1AvWeb8a/VvRKQ0hFzn6xcD4S4WLc1DqaFLj++wyD 2WD8uWNM6Nl4JFnCS3mOI7ezuVl8pBzWwgFtMzfzxdAbPajCKcUj7i+wzf0rBMsG3Nya 1+cnXAJXHJAuR4VxKbJMLcl6utCiq2QpJiAYVUKbjYOupw0iSbK1p7NZ5IOfyqKzbJPX sSPzbHB/nspxzSZmNNSqPPbbiQvwswWjCjHXQ7YCBbgxxzgzYs1PNdZofiZQxNgnbBka EmIo8z3ABus1uIstwKQDZeWuurw8d4rJVAgM4by2s21XgDkajVlxqhi7aBkxQB8ERSs1 rMoQ== X-Gm-Message-State: AOJu0YyJMHyH/qlynd8krEYq505fLCl6am0Er2X5oIr01bjlwhIua0va NqTBs9hUZ+lt9oe0t/WfRKIC0YlI+CHCXXpfrBamY5iERpNlpDXc6/G+mxItr0yuHhQzNgoTEhw jVQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:2289:b0:6ea:f425:dba2 with SMTP id d2e1a72fcca58-6f4df2c7942mr54587b3a.0.1715285037144; Thu, 09 May 2024 13:03:57 -0700 (PDT) Date: Thu, 9 May 2024 19:58:58 +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-67-edliaw@google.com> Subject: [PATCH v3 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 , 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/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.0.118.g7fe29c98d7-goog