Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp73859lqo; Thu, 9 May 2024 13:03:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUVqK+HHjnGLX7xMinrxLJSwzPsLZRaPVbPWhyJHAFOt1Dm0Hr7JFbEoKF10dkR06ovKqTIkEC5aYS0DNnVf2IMEqIdq5QguD2xXupTYA== X-Google-Smtp-Source: AGHT+IEH3Iac0g+ud57AlQWrAPAlMcM+n331U/ei+4d5Pj18dSsSxlcbmyILiQMop0F/J6KS2Fm2 X-Received: by 2002:a17:906:b845:b0:a59:c2fb:e33a with SMTP id a640c23a62f3a-a5a2d53b2a2mr43156766b.4.1715285003207; Thu, 09 May 2024 13:03:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285003; cv=pass; d=google.com; s=arc-20160816; b=OuAfjkaRCrSncNVHHFPo1Q/gXz0Pp404hAfN4eDNX1/5C/U+01cXS9NyVHcOInkMrX D98zjxSeot4bszeKhYkqBoBzGY8CCbSWEfrGGlBMON7HDR7+M/PblGcOJx3+3xuaaada olyOSMjTB6D+n17lcBl5jiyg57crt5dSq05ie6nWCdiS/Oy2v+8I9KK+TxzFgnK22Dqo QCJOSnluzYQ27vmEqxsj6JuP+aQQZAcPI6KJZL2mcIpaIvaT5ith70DzZKldvbL31ACg Q7DnNnYpA8doaLrIq09SWHlB5pz1ND7lZnT8kH15DSyU7Dut+r9liBTV6qdMss4fafV0 8cJA== 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=I0i1BJHEHfvwlJBsnQikq6I2sYMm72umBUDvidl3EP0=; fh=bS2VbR2tVDpT6NCB6ynpDAXmLoPg1QNFwzvgFEk7K4I=; b=Iwaum/ZGJvqxAPIWsUv4LZE16bTTc9/xgSGbvRXgpp4IEwi2PorhfYrYq/7SiigKzT ubbBhHhdNtsC6mKlZNtE+/+JnCzutrjR3rldgpnCW/XTgCgpmx6OJXS3bNrM+ESJtaLJ IComcsOW5MIPTlLHm9VIcrAoFr94mtVZIAbW327zkV9gYpJzvIIF7MM88F8aA+1DubLb 0/kxtgdRRfLRdMZyIph5ZNWz6mACQbqlpNQ+3I6b192E6x0EM4FNED33Vp3mE4e4Z28O s+bV7bcl+RDBdnNR1CBdwcIry5PfQSecOcGQUJ/c0PmPHD+Q69nwlFCHiu7X7uRFeph3 4+zQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=QM5pMXYv; 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-174852-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174852-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba37fesi105506766b.523.2024.05.09.13.03.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:03:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174852-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=QM5pMXYv; 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-174852-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174852-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EA0811F21F61 for ; Thu, 9 May 2024 20:03:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3A3B127E36; Thu, 9 May 2024 20:01:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="QM5pMXYv" Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.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 4166680C1D for ; Thu, 9 May 2024 20:01:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284871; cv=none; b=ffFVgbFv1n7DT2f4kiFS6CXbDJqEU6Dvm+MclDD61hkJBmv/GK61bszaRkoO6ekbaHSlVYszwFi6scG30ccEZUMj1NbzxMYn8Hj1w3TTnH+Zr47AaJ1mTXdhPaqqNimma0LR6CTVE1vfX4datHBB/b9mxD6XbBVbTKvwxv352/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284871; c=relaxed/simple; bh=FoY+8htLD+tcBfSG58OctRNszBURt/6xq3bm1HJ3AsI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=GEOr+YmdO+DMxONvfvb1EPzjYttxIvXieumSDDoYFqvYX78cXiCuzbK+kiAsZCf73/OeBv/fw1iYGs1pPh08/vHOwiHPD983F+qHc/b7Ez0YFvhCZvgeA9Erawjxxj4froG7+4NF/HdlntewNDy+7BXUfbAAbnCBwbbvn1SEjnE= 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=QM5pMXYv; arc=none smtp.client-ip=209.85.215.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-pg1-f201.google.com with SMTP id 41be03b00d2f7-5c66a69ec8eso1031184a12.3 for ; Thu, 09 May 2024 13:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284870; x=1715889670; 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=I0i1BJHEHfvwlJBsnQikq6I2sYMm72umBUDvidl3EP0=; b=QM5pMXYvuIjT+hJwvm7ZqbR2i7wUFCbW0Lpb/KmQCl7s/7e5Q6AJI/F5oeWeS+S4Kt L51nrwbkKa2XnPeWPS3B7KES9Lox3Xld0m0X9D+qln5QOXtAgynPOE12zxD+4H2NlVup PjqrEFtqN3rtn/SNK4k9lJINHVKe8tHNcHYR1ZTadGtRUBwhz/LizigH19dz70NOnjJ5 cCFbvInbXf3KkBlzXnGh9kUAmLDSrbBZogLV8P/eLRpnMYd6+dJ5TSJulBratq8aUqYw 5XdIwsSBEe5dbdgsHnmW9JqTuEaQXlZwih4GBMU6/nmD//hJyOrBLihZrTAyejzHLkOb bx+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284870; x=1715889670; 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=I0i1BJHEHfvwlJBsnQikq6I2sYMm72umBUDvidl3EP0=; b=NPGbqWuSGLfxJiWePMmyvViVyC4Et6gs5DQkCrgrmevNProRyzFr2dZcTLBrUuQBC6 9L3ILbtaZxMUWomGGhT4vab36I2vD+c2NAI8mMneIy423h53g8YeaqLbIBMaUQ6UKOzi tan5dSOiVxIPIKTEbiYY6o0N0/IdCquzPOQ+XMPqZRtM83Je7OF4JTXj4xhfU1NMfYdg NUVIGNZo80s4ZAERSx23eBjN+cUPc7Ny0v65WH0tyKgKaHikyuXPuK2/7VAwj282y7x6 BUYkAVP5tyiYLPXNIM2PN6FWtUxTwRnjJehAuaGyhezJm8/rrk6hTCGt4r1Mbg9NshZm hERw== X-Gm-Message-State: AOJu0YxoUbf8bi4yq/0vFa/k0CmDaHfKI519vHhARns8hBfxK2kVFMio Mz1A67TxX/EZ9ECyz+xsX9hDCCRXZk06+1+LVMcYDEqb54JlJonrM/Acus0KkANO3S6L08sSLiQ hLA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:7749:0:b0:5f7:651b:fed8 with SMTP id 41be03b00d2f7-637427ab755mr973a12.12.1715284869580; Thu, 09 May 2024 13:01:09 -0700 (PDT) Date: Thu, 9 May 2024 19:57:59 +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-8-edliaw@google.com> Subject: [PATCH v3 07/68] selftests/breakpoints: 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/breakpoints/breakpoint_test_arm64.c | 3 --- tools/testing/selftests/breakpoints/step_after_suspend_test.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c index e7041816085a..e5a95187ac12 100644 --- a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c +++ b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c @@ -7,9 +7,6 @@ * Code modified by Pratyush Anand * for testing different byte select for each access size. */ - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/breakpoints/step_after_suspend_test.c b/tools/testing/selftests/breakpoints/step_after_suspend_test.c index b8703c499d28..695c10893fa4 100644 --- a/tools/testing/selftests/breakpoints/step_after_suspend_test.c +++ b/tools/testing/selftests/breakpoints/step_after_suspend_test.c @@ -2,9 +2,6 @@ /* * Copyright (C) 2016 Google, Inc. */ - -#define _GNU_SOURCE - #include #include #include -- 2.45.0.118.g7fe29c98d7-goog