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: 13669978 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 3EC4C770EF for ; Wed, 22 May 2024 01:00:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339608; cv=none; b=Vd8QmXmGOnIHRSHb40K6h0MJLfniapqzhinxKTwsGHkF2U5/dPZ1YWriZe1yIoac1TaG2RrigXFofvNKb5Jahf6OJs0CB1MwR60ofs5Vcy5kGr5xyJcCFVF5GsmCp4dvnw/COy+kDVmEHoFWjpUZ7LQu5qQY1g2VHbhr/MZylEE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339608; c=relaxed/simple; bh=Dzdcnsg6q93Dx/VQ4J5vnEEbAA9pDEU+SlfSfSnZ0a8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=V81D8E7eKIfdGRVTWm7v54to7kN5P/eC5LNODtd89hLZcolQ0RB3FBQ38V2pq6bW+9r8awXyQpYDL++IXSsUDftwpidyVbpRpoD96eMP0l9/qyL4fAEfJYpwr90k91cCxJi/dFSKucz9bjSl10RestjDLjywV5oXiiQPIde+aYc= 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.202 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-f202.google.com with SMTP id 00721157ae682-61be4b79115so260553927b3.1 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=BiB4l+S4035l4UMunpNjeJy2FRRqSuAm+P4FX/F5FZaMgwVoxS2m/3lW99TFw3amHa JNzbbm3QeXLhLPi8hVRnHB+ts+4m26dXRHqmp37LTsvj2sJEvyX1CK/y8Y32j0ys/rAi AijDl+GE92uSe2HXqGlmKHLDL7YnecPQ9XPmY9kg0/pkxXxOWsmvveYYmwTdX8Awvxw3 1u2cTeLdR47zOoAhMJezcQUQIM7Ypq+2/rqgE3MzpCWIZfqRvW/0qKYT4q4sE31hlFJ8 OLFHez8hR4dLtluXJa4wzD+u1bK2QOufOxti5B1iAEnrUPCZ0o9SxZOLiZnrUCoOx2GK nlhA== X-Forwarded-Encrypted: i=1; AJvYcCXtiBNzqmxI3WltgtZdGDfORsQpNJuVdn0f3Sul/3bX5i0Wg0twK+Zb+Zc23vgu0GAss3rErpr21zOybvJQvfrBaxVYbG4cgNPaZRVkb8oeseP69mik X-Gm-Message-State: AOJu0YwHLMWwv6xTwzzOsFZtqYIBRktKfE6Eh7KZe0EDX8pqk2T/JXsJ V5vyjpbvfWPesFS/KQSawdPaK+U1Z46GdwuwlEeR0nL/F/hXm697I05aOQyfmlSQMfMoOsi2LnU x8g== 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-security-module@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