From patchwork Wed May 22 00:56:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669879 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.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 4772A74BEC for ; Wed, 22 May 2024 01:00:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339607; cv=none; b=fGF9ZY6CuZO9q0g+x183hjrWhhsG1/jHLPK+TiCIIF8v3NFmdqdFjhts7QyNeE1PSpMzfCY0XPE5qxe8w0nU9s8VEuprUIX63rJM06YGWQocn/2kzvhatunlD1kZ63hXfOmemeDnPtaxDffzgzx01r4l2GVd27/NRU8Rskb7an0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339607; c=relaxed/simple; bh=Dzdcnsg6q93Dx/VQ4J5vnEEbAA9pDEU+SlfSfSnZ0a8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=MSKEr+ahZabQvdfL871n8nX0xO572RVUX/2/blIBym63ZG14uDYJsxkmJg4n0xopijT4T3OydlOqIwFwngmZcXiV03zC3WNlq47WsGnL3Z1dTFmUNb5x/KPs+cTu9r/XSimwwyv+WYY+msku+CLxrzVeqVku7Y6+PLhSPd7d3EM= 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=rKmZZGPJ; arc=none smtp.client-ip=209.85.128.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="rKmZZGPJ" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-61bed763956so247360547b3.3 for ; Tue, 21 May 2024 18:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339605; x=1716944405; 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=0lmQNJORVSfCUFFoUd1ViMTpUw9e5KrZZN0Cex2QGeo=; b=rKmZZGPJmgiDLzhdg8t5T/uJw7g0/Y1rQqAWxzN76pdtBHfHCfkgA5flqk86htTc9C oi1/o6AUzs47YiQjAGwVRWcdxMsmaW7OQ4U9NLcKgPHTXNDB4kCkNX4jTSOIMgxVekkE miG0Ju90JFXXxYMdyFth6j7m/pjgzE8bw4i3ssxyF/8dlvz5yXD296Rp8UxuXvoEJYGO MeGz1tsaeKdryzFl0HE5r7oUH/HFKEG/Ok1l5zH1fsRjiDtF4noZySZLjQAQat2+BNJc veX0u0foh0+j0hiWEdXvPeD47o6ipchfTjlV14YSd+7+PAtfJiSBCv+Qf3ONGwFrn4Ty c6fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339605; x=1716944405; 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=0lmQNJORVSfCUFFoUd1ViMTpUw9e5KrZZN0Cex2QGeo=; b=wsSMUm72RwC6mxplFExFctc+sM8okkITFfui/nfMMVb0agLlNzCWUfeuQ3JqojyG7T /niJYuuVQP9Cq1KTUOaMvxTyYbvo767qyVaOdroQCR9tBz8lhh9S1qysdhcE9UjbGFSQ jFo3/VLWoReDWsm1GV9u67htIbqjNYAU1sn2zNLsur1Mo3AXHL3wWcwRigMz772BzPry DQ7vyD4mKwMPI0/DxYkwACwLkPQv+Zl7UExP90UCnmQsIidhoLysesTCvoMlDWhA1Yr/ RDCb+vjQwm16wXFpfzyB18LNpRrLaYRwueDGOIbvj/8xV3jqCZTELdQVeA0aCFO7YdVT wNXw== X-Forwarded-Encrypted: i=1; AJvYcCWOFZipoju8FwAGapYky/rSM45/TKKdyRBueL+HgxwQ74KDos3DTI6AracJ+/b6GWhvqeYGPNxFW1gE0G6c+Mof4Hzr+uelMlM7VvBm4zN2 X-Gm-Message-State: AOJu0Yw4ucKpkUIrhM/FrhKMJmE8aDqj8KcKzposzr9B/mT+iP7Vk2bR J5SeiADMD1Db9/hyXIWKFABJ6T5/rAow4cUxuSmzn9t4UhtfTN12DJKM5YT5rYjXI7TuY+hCgoq slA== X-Google-Smtp-Source: AGHT+IFHbotlZv7fBN3ho5Rqkkq34fEhQTmj5VOO1FIjb4w3cqdjQsyZMPao6gSz2IdVEby5LAMyjSIG9hg= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a0d:e609:0:b0:627:d549:c40b with SMTP id 00721157ae682-627e4848affmr1773967b3.5.1716339605428; Tue, 21 May 2024 18:00:05 -0700 (PDT) Date: Wed, 22 May 2024 00:56:57 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kselftest@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-12-edliaw@google.com> Subject: [PATCH v5 11/68] selftests/core: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " , " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " , 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, John Hubbard , Muhammad Usama Anjum _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/core/close_range_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/core/close_range_test.c b/tools/testing/selftests/core/close_range_test.c index 991c473e3859..05781c7fc578 100644 --- a/tools/testing/selftests/core/close_range_test.c +++ b/tools/testing/selftests/core/close_range_test.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 - -#define _GNU_SOURCE #include #include #include