Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp55856lqp; Tue, 21 May 2024 18:19:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgmwwP4i8g0U1VsePpqTApNDR1D+u75H327zmmA9z3+AgOrOK2mTZXm+DYn3kHvWC7w/dvX4IMv+znSI4Z+CZO7TVMG7EtXneksT6DeQ== X-Google-Smtp-Source: AGHT+IGzUJ4IfAZkVLsXBt3oWXafRUMJpLn7iDg+VHVH2/FQxDntI70SyAeh15fKxmVs7J82hFY5 X-Received: by 2002:a05:6102:e0e:b0:47c:1cce:c465 with SMTP id ada2fe7eead31-48900784ae0mr654578137.0.1716340782331; Tue, 21 May 2024 18:19:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340782; cv=pass; d=google.com; s=arc-20160816; b=MWe/Kkd76pUQP8e1funlFXjvuN/FEsLelUuU5iiHUnFL86UX5xdBtprB6wEyeQ5LfO Hhladt/4PIbLLuLJJ4nhAU0Ze6FqSpyP7dqra3OcUfRDdBwtNyilGQ4o28Io63fX3y/r /GCH5DEILeYu1AyvUYEksqkNpille1+zeOozbG2rOn9WHcT7LcLvvKTlJ2o/IU778abN mqlSeJaaMwtqG1LL4Ob9Tfi5dgPaTWvFsCEvTTjbpe9XYC1XxcC9ukBcjf950QKEyDE7 c8CHaPrStF6d45FVsFx0WzwXXopYnwsSbsj0b++u2qAeqeW/ETHntp/pBUlcM74APBme dj6Q== 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=CdhZH2VylrS+6EeGuf6ae6S+DzMPS8o3sFjSdgWRyqU=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=sFxXjRkn5vbJPvm/Jx/dMa9a0dOY4CphxHlb/nT17p60Mcl/2CPm/V0BHwQn2ptS+s Y2JmIC+JGSN2QHcmYJtxWNnIfGETb7/jt0oGzuiMND+opqKG/TKugRmYrDlJSvcCsnFh qbU1/aFgAfJ1y040A/qawcGwZqZiNnWg5b70+gZ86Of9oblKWs4Jca4uZSuns8X+I1kZ 9lEbPP/IF+4HbQImIRy7J4vcqe1i9wYT7MG+QpuGSJm6do5f1SdlJkPuxi6roXGmDCNp P624fxI5d5huvRjjAhoe6dJq4EWf3jIqvv4aVA4arWliw1TRINmI+r9JJC55dxZuQNba kjxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="kFl9/zMw"; 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-185625-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185625-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 d75a77b69052e-43df56b2f50si142571401cf.573.2024.05.21.18.19.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:19:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185625-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="kFl9/zMw"; 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-185625-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185625-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 E8BBA1C231EC for ; Wed, 22 May 2024 01:19:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A83DF155393; Wed, 22 May 2024 01:01:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="kFl9/zMw" Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 7CD4B15533C for ; Wed, 22 May 2024 01:01:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339718; cv=none; b=YcUWT31r34Jj3C3SPfyMeQaP8hh17N867DKoJYYE9ldIZi4yaTn4l/O2inclXEdUSgHs2JPPvzUTNTdkfEn1qq5bn09naIFUiz6NuD/2gwp59RO6uAU1UIxx7VU2SwGDmNbiRqhz82K6tTCAYNPkD9tQ440mriQnw1hyujigya0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339718; c=relaxed/simple; bh=GPntLq7+5p05K4Kj80a1ofx+IxdVyo2sAkOefotHnTM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=RQbm2mq8PshcGQ4SIdvgQDjG6yGyISOETyP/kWBEUL9MDerkHFl//CQWPYSs5wR+L/Bu7ctRLVSLp21EoSdRaGQqonQCO7Ic75Ad72z/BDw4QYv8tOuMi9aNeORomPQJH65mD0CE0UXVthcYIIBshyU29aSQnzifsFlL2X3LBQU= 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=kFl9/zMw; arc=none smtp.client-ip=209.85.214.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-pl1-f201.google.com with SMTP id d9443c01a7336-1ee3b4f8165so130166385ad.3 for ; Tue, 21 May 2024 18:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339717; x=1716944517; 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=CdhZH2VylrS+6EeGuf6ae6S+DzMPS8o3sFjSdgWRyqU=; b=kFl9/zMwn5EI7b/RVWPpEtdc+LAfDjM+BKyAI0BIOqU+xCr6lCAjQQtryha6e+jKpU 5XGSpoaegMaFwNMVdY7PKKkRh+DOC26jvMqNZNLJS/pl0oPvVG35UOvkCzv7tFnJEvEc tacqLzavXTVhhFRu/IRbEl5QsE/qTm7GMpM+BFxtViA6S2qmIcTQPDIITDnC4+Hsnb+P jPWkSar0nVDKVGEAoKcLURcAIqqDqDOovZfoEFDcPXlvrNBLDHDCMKiJQYskh4L0MNea nCy1plRH7hpADoDx00SqcroPueS32Os7SbxgElU4IhKKoYfD0+pYdXmHz/kHiRyLuKqJ 2N3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339717; x=1716944517; 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=CdhZH2VylrS+6EeGuf6ae6S+DzMPS8o3sFjSdgWRyqU=; b=Tw03S0jYcWgp6yDCaCnH3WglAaCqH6tC5m5thdL+irj7ZsC2kaeCTM3pDqdGRAidyN WFYclkL7TSjBZVA66p8fNqmk2mhrPC6lMPy3TPqn0foMFqO+DGndsytjcUND4GCE0J1c guuwiccig1yfOhv+YBHJYqXll5jEmE6ircioaapVor0Z4inQFrko0F2x6Z3nFBN5xsU3 VdvcP5MwqaNaiWMFPmMXwvq5Nn9ZwKTjYf4elcAyKvPiR6140j0uWW0ySHAO1Qcbkepg fv5Nz9O5NrFHKy+U/O8JTstFaf0UwX6AD45ewQklY5gdVFt+XXK0AQ/D9vQi5F9tzhES rc8Q== X-Gm-Message-State: AOJu0YwgeUEa9shOP5WXWV8SL1h8N41bCbxk6ygzlC2X1U63Rz61IGpg yMGR+fQ8b0RywcAjc9iVvrIKBgX0HLHrZrH/gglZCym7de5FnW081IaMZuakyddf9tQ764r5zBE /jw== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:ea0b:b0:1f2:fb7a:19ac with SMTP id d9443c01a7336-1f31c9e7df6mr65215ad.12.1716339716964; Tue, 21 May 2024 18:01:56 -0700 (PDT) Date: Wed, 22 May 2024 00:57:35 +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-50-edliaw@google.com> Subject: [PATCH v5 49/68] selftests/riscv: 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/riscv/hwprobe/cbo.c | 1 - tools/testing/selftests/riscv/hwprobe/which-cpus.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/testing/selftests/riscv/hwprobe/cbo.c b/tools/testing/selftests/riscv/hwprobe/cbo.c index a40541bb7c7d..4de6f63fc537 100644 --- a/tools/testing/selftests/riscv/hwprobe/cbo.c +++ b/tools/testing/selftests/riscv/hwprobe/cbo.c @@ -5,7 +5,6 @@ * Run with 'taskset -c cbo' to only execute hwprobe on a * subset of cpus, as well as only executing the tests on those cpus. */ -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/riscv/hwprobe/which-cpus.c b/tools/testing/selftests/riscv/hwprobe/which-cpus.c index 82c121412dfc..c3f080861c06 100644 --- a/tools/testing/selftests/riscv/hwprobe/which-cpus.c +++ b/tools/testing/selftests/riscv/hwprobe/which-cpus.c @@ -5,7 +5,6 @@ * Test the RISCV_HWPROBE_WHICH_CPUS flag of hwprobe. Also provides a command * line interface to get the cpu list for arbitrary hwprobe pairs. */ -#define _GNU_SOURCE #include #include #include -- 2.45.1.288.g0e0cd299f1-goog