Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp189289lqo; Thu, 9 May 2024 17:34:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV/eJnWoEaL+6ZuUqViRB5Uw0O4AURoO8t61QkyGv+SgYgNYJDTFZIhABkrAFm1gpNKrcrMr5pS/o2Ym/hIya+fA/PHDXGkCxc2wMV5sg== X-Google-Smtp-Source: AGHT+IEl5j4VuxMdY1ZldjR542USUAsUWpbozx1K6oSoPvjoXXVUj1zGn0LHX1jZU1zMusV57/Lv X-Received: by 2002:a05:6e02:17ca:b0:36b:85e:7d69 with SMTP id e9e14a558f8ab-36cc144b718mr18036925ab.10.1715301262873; Thu, 09 May 2024 17:34:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715301262; cv=pass; d=google.com; s=arc-20160816; b=eeRqsETmgJgnpBk2NwuE9HTNznr66zhzrxPooRBiO3tFN3tBmI6e2/Vh40A+AnBljX xLuwbsbh5g6FLrCGquMifyD75J5QeuwKNa8qUBrazlkasdG2dEacsm5N6dNQeKZN/0Oj +oyQexlxyj/VYTPy1s6e4ih4f42+hm1xfSX9RHHWDxx0JgzsCZ7GrrBv1OjX/D2FmpKn H5lHX04hBoP31eL0XvkWBNeNBJtmP4zYTWidafLOxkZeGSSPY41GeQbdI/DtoZ2HLack AuWdr1+oC8bDzjx3rtXx95S2+6pkz6wR7Ae0NoAIjqsihjRP/JoVQOmUkKLYp8kCFn6Y 7QPA== 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=1+/kjO6igpY5Z9IiOKAmMz8PNt+9Eolw6t7DBSMXgDQ=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=gb0UlZ5qkzHWKT3qVbjmn706XnGM7TpAcn3rkMZHHQ39UVU2nhrLIC05DTA44tFiJT 3Q2rNyLdMGiGMomFGS7TdeIa124QHXwK+CocmwhA+XQrzBFgALovgcAuxrQMidKYP32g DZgTD/W7z8TjnKGlmDfMgUrADYwdtM8rrbHyqltuTXaJxEPnDBujAbNqrtR8jJ/qasWK reed85rpsnJJRuETe66+Cocp85Mc/d9lvS0WG0zn7TsK/DSJ4xDWfnnVCQzIwrMDrVbf MYx2tF+3Cj05P/LWHoKCX4kpbw/XIApr7DDa3r5SwwPgYm8V7S/AOQbh7zVl3cHHxY/0 havQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=EAtmuD9W; 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-175161-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175161-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 41be03b00d2f7-634117192e0si2447153a12.544.2024.05.09.17.34.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:34:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175161-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=EAtmuD9W; 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-175161-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175161-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 630252817C4 for ; Fri, 10 May 2024 00:34:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C696029428; Fri, 10 May 2024 00:12:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="EAtmuD9W" 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 B943F1420BE for ; Fri, 10 May 2024 00:12:06 +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=1715299928; cv=none; b=PlaHO1BDaQnpDoC7m4na3bbxP4umqnb006qfYLBSc4PJ3aBYhRJIF6YO/VxgC74xsqKevT/ie2zFASQzu4DyMmD+fP1/rc+8SZKMbkmTpTz/m0eyX4E1/TmdxMK1J2KR7yxQVk7h41E/uZUneahdkWg/ZkKDgPYS1i5DXpGzdB4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299928; c=relaxed/simple; bh=cY1yLjDVOZyUKN7zy3cH0I6yfDbGKSufrusCzHder2E=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=fnFbboppEjm0ph7HiX8p95S1+JDhaO0wmwVbPIDBZ7TEEDDUrKXi6WkTAWq0VTCyKdtdM44LKUe2fih07TBIJo9VNSjtl5pJ6PPNu2WGZXPCRAyXEt4/ekCJa/14AOaDCCNECAhMEZl+/BRX5nK+e75ZEmJUOy9xLPjUksq6zNg= 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=EAtmuD9W; 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-6f46acb3537so1038165b3a.1 for ; Thu, 09 May 2024 17:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299926; x=1715904726; 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=1+/kjO6igpY5Z9IiOKAmMz8PNt+9Eolw6t7DBSMXgDQ=; b=EAtmuD9WCSKsTAnkTmM1crXLqjyHlaYH7cg8jF9zWPnpcoKSaJa5NQ8TpIX4K+ZdEO djjWGkIe9TQfNArCNwaDQSzEK2DhQHaGEy7qIZqN9Yf2ibkx3jFgQcuLFCEOTZD/cfSI 8GQC07RRQnBFEWEqtPi/zxLmO0GbvgT+if54SKdS50NbXZ5FNqLniKAOuG75X0esoOIP maDV9Jg6AQul8dMw7tKBpsJZ7AzoNLzEKC3NYnctIgzmzFyfz15OmPIy+ob2jt2EC4at FOQHtWdbjel7Qqhqzj2mG3iJINrPj9xA1yXuAEgPlPQhntyenYijZJEindY2AnYn3akP FdXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299926; x=1715904726; 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=1+/kjO6igpY5Z9IiOKAmMz8PNt+9Eolw6t7DBSMXgDQ=; b=qMpFpxzoOFKBYgypBSjfPdmRwUTcM8CsNC5ccM2Hz0JDV8mrybOEbzRnckmeax814O BRQ09JMfiPzbb851WXy8fjbzFyik+7ZlOd8oY2UKNgPzkGi3u40cCCZpWKxxx6dR0FaE 3aUzM0usoiG4L/0UojBxenhxTSVpRqgOetkHBlS99DQKBZo6H7p7AfO7lEMAb8ad5wHU xDTymF5/TSmChvMzX71Zvj0CJjaYzriV6GtvAHwnALwzQf32PETPRji1l1CF8Mdpu4JP iVcVrVvD1ZLjEMAXYHkq394A5x2ufgSjOshBo4Bp8CJjUyTno4J/6gPgjtf7CfJmTnQf r1aA== X-Gm-Message-State: AOJu0YwU9yZjBAGKtRyjVbcYAH290Fl6Crzim6UbQzFPbL6DnURjSANU mgM8nJJtp6t6JuS65gechWzsH9i3WmSGcaJW8mhQsdCV41EqdMaQ52nLfKxiN4PekcYP5fxgLZt oXg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:3992:b0:6ea:dfc1:b79 with SMTP id d2e1a72fcca58-6f4df42b865mr83743b3a.2.1715299926061; Thu, 09 May 2024 17:12:06 -0700 (PDT) Date: Fri, 10 May 2024 00:07:21 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-65-edliaw@google.com> Subject: [PATCH v4 64/66] 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.0.118.g7fe29c98d7-goog