Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp85215lqo; Thu, 9 May 2024 13:25:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfZNgzKh9zseXXG63gOCOSrwoNHjTErSol717luAjgHGFdJm/8m4aitis08bONnX1CrkwC4blZEtizBEwiec3THFXeFkgcEddhLRJzcg== X-Google-Smtp-Source: AGHT+IE77F+Qo3jZNFsJelO0C4LoIfEjUShA2QNjfb9HImmouqwhlq4Pxdn9VR5UG8XB8BVspA3e X-Received: by 2002:a17:903:985:b0:1e0:ab65:85e5 with SMTP id d9443c01a7336-1ef42d69aa5mr10870715ad.1.1715286339068; Thu, 09 May 2024 13:25:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286339; cv=pass; d=google.com; s=arc-20160816; b=P0Ug5MzitH+gLaiHD4Tz5dx7rXdCH3+iChM716R3KGuCtngwNFEew4dGgHIlnxQUB6 YHDWXjlSWFGkwuz4L0CgxUzXZh8mtae7zeKEpQJ1GiKv7VLrkGaUn1qCzBT+UjKXGnxY RgODlgaTwcGEy2uQjB70jdyUnbo7KvAGOWQvDEEO4TTGYDHmUYn0/Jxdaw+GZ+pzyjW5 dxolf2blFvrUhsCgskr0m1tk3lJXDG6Ocfx/tGpofpc1ZGnHBwD+1KhGDPXPnTJN+06F rZDZZMBZf/W5Si6OinPwPLrWAbICI2+piuGRF01PaZQpFQhZijfwoNatoOUhsFABk8Mo mELA== 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=1HIud3j7hw+SCl0gZCLxmuOdO359mwG6ZPGgmENMsjY=; fh=bS2VbR2tVDpT6NCB6ynpDAXmLoPg1QNFwzvgFEk7K4I=; b=Vgr+y75Zjs4iUMDRY05c8oaU3r8SbeqfT8ZEOowoiTuoUnm3z2Mar0m+MGXhVLKQeT mzHiwFPqVDWjv8BifV5F79Jp6XVZqZL6xNOEXxwqBDnYtV7z78mmAgCkKzMUCtzm1ku+ EX9xgQuScMFpiubWLokXm5OEIELfjTDRrV6ZRaI406qmBW02yC1jqyWXF8IaNiJ0KMqk lp/cTyh96Ww+T3JJF4+swS4liH/aYamhxnRs3uLSXpahp0D6FKvskK6BcpXbSlVdEOuQ cjq5Y6uiiU/JeDb9g5jUd9rUaw6NQTYlTyaaoV/VEChCyitNBUfZ3EkCY43DCKTO54HP Cfew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="L/1OkajL"; 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-174898-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174898-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. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bf31539si19957075ad.304.2024.05.09.13.25.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:25:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174898-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="L/1OkajL"; 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-174898-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174898-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 55ACD28598E for ; Thu, 9 May 2024 20:19:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80EDA143C4C; Thu, 9 May 2024 20:03:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="L/1OkajL" 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 2EC0114374C for ; Thu, 9 May 2024 20:03:19 +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=1715285000; cv=none; b=eXJixnBlHhwy+HryDGvfit1HLJHQcRXW6a3V5z+cmkBcEEmELrnjYAmyRH7Bjq/0Cf97RvpJcJNGBdYtEDmcx3H9kUICDIptngxaa8hKsesEEDLMTGZ5JWu9sPbZDWZHvP5ntDbpqRSaBJNCaytYBfbUQAZMHLiLMDj8b2KoWAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285000; c=relaxed/simple; bh=1k9pJ4Bc1nKNaedfe0Z+6a7iznCVlqHkWeOluNZawro=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=VYUeJab22Gsunkbkhw145VUBupVVplGF7nMDPMsP+sKs3Lz5pf7Pb9EKyIvcEzXjwUHwOkYjIeN1Jcd6U3BlARI/A8PBgRqVBlKMj9Z6a2clpvsXnF1E82HX1OqDcIcUyQ+XXa64hj7BOe2u7dE7K7Gc8GYWvcle8L1oJuvfDZU= 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=L/1OkajL; 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-6f454878580so1189668b3a.3 for ; Thu, 09 May 2024 13:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284999; x=1715889799; 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=1HIud3j7hw+SCl0gZCLxmuOdO359mwG6ZPGgmENMsjY=; b=L/1OkajLZpRcATHRdh/Ju7zCrJSdP32/LXyjZTZchsekpWkEOn8eCAR1ncrpuRj+Lx MmlfP/x2NUAjBokOhLqkkVSBhm7xFAit4irlhZBH84L80tZAT+yojCImDe2VCrtquVsJ vkj1CN8KmmHbqkSUCeLtzOCP3VPM9uayn//Bo09YVZ8q5JIbjpPoS6e2NeC1Is4GBEN2 87XnIjQkbzZMGABVDtBJmIRO0leRsxJpIcGVFWeMxFYGfjnXHx1YJ3qAeX9gHw5xd9lF zLAyk29DsBfuiLbY1pvGdBygGSVsSPHODwBoORCb8qcRWva+JfErzslJnETTwtz5/YFy A6Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284999; x=1715889799; 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=1HIud3j7hw+SCl0gZCLxmuOdO359mwG6ZPGgmENMsjY=; b=Eyihs5ZLDu7W1vOzUsIxE5vaXN1MbCvWJxywN5tRB52t9mLX2/xY2YvDKicDh56Idb +zi46+zcdTTwtPETJeFnO9co1m3dfDW2hYZrBtLTYfD/d6fuS/iWgTvw7tedQT+j2s1u lpL7JPVNuLZl+enmYThx5PSFquY/lqEVuOVCIcxl0iJVwgwB02EVwbVL3xGEY9MGG0l1 NaPj/dAd2+qK8hl94w1rxfe/RGl37hLUZ9HacgsLAzQoyr/32NYs/CYpAvM9QZvoImN7 EDjh6t674GrhrTW3xwjwalGQdNRkY/nkiX1z2mL0ZLUPSN0JThQ7i0L7VYO3FQXuzWbj 5LOQ== X-Gm-Message-State: AOJu0YyLOfQvzK4tksMYkJwSxROeMMGCKe0ekfBvdGYQXbZr3NgSkwb0 SK2lRfeOK6RFgq7OI3nzJtXPudWJta2EUwvmUzwAt6UFQyvfMlUgU71n2EOTEcXcHOPDHxnlGfM 3Bw== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:a91:b0:6ed:ce48:f194 with SMTP id d2e1a72fcca58-6f4e0296348mr32533b3a.2.1715284998656; Thu, 09 May 2024 13:03:18 -0700 (PDT) Date: Thu, 9 May 2024 19:58:43 +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-52-edliaw@google.com> Subject: [PATCH v3 51/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 , Andrew Morton , Muhammad Usama Anjum , Edward Liaw 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/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.0.118.g7fe29c98d7-goog