From patchwork Fri May 10 00:07:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660681 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 CFFDF142E6E for ; Fri, 10 May 2024 00:12:08 +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=1715299930; cv=none; b=aCOmHn8EI4FkKlnlOIu/MXNtpdLrFeYm4MtBjMpLjva3448Lqrc+NHFFM5ALYKbqBqsp0d0EO1hn2Ry4057B1OPQfKllYo50DTlGRDpTUA6mV3BxS2MB4WDhVw3ZeE1hqrozmgZGoRhVtGACTAy0Sb8jpmUiEknk+KevJKkSG8M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299930; c=relaxed/simple; bh=bCVhh8pEHF5ZqnCfhVzfgmGYze128EdwiIeM3B3No2o=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=iqREtajVPKeuvb0fJgz6YhnDCP2HoewirH+ielknvDCd3QIX5ojXvKDE+OczfWS4ZD2oa6z2v2MPEVoQ3QzzmNMj/BH8mO9YK0lJnxPia3HxT0KNEGH45i8Cx2pXudbiOWp+vDcRbV4xMYX8UWJC1xv5P0dzpfaKsCyXR1TxV9Q= 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=lWkOa3oc; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="lWkOa3oc" Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-6f46acb3537so1038201b3a.1 for ; Thu, 09 May 2024 17:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299928; x=1715904728; 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=uRjTqL5jZBxzwk8RtqE4pMuTf8/KsRch8ACUgOLR1L4=; b=lWkOa3ocYSax8JLtAHNoYDrrJetns+4YcpbF+S+4+H0217kzf8AebuMk1hAvOIDe8u RPYdrwyYVADQjqQoPjQC8zC5b/kHdazbiBBsWqUFPws0r/tbDylGTQ5fwvoRAQRQUaNN 7LFfm3qlj3bPJJvZKR4ArsjjZrnBB7xIn66XNoT6OmD43sjGkO5TtINc2un+vf1JSV5I NjOdSuzF2tjI+YrGfjjJUejJttzPuUlClL46QsCnYmBhNZgdNURjw7EBg5UU17LN1+Fo CoGUFPNBlwvrGaoP/R6XdA9ThVUT2rDJWc6aq8KjCxa0m8+YL5mzuEnFOLegVZ0bu9bj Euzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299928; x=1715904728; 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=uRjTqL5jZBxzwk8RtqE4pMuTf8/KsRch8ACUgOLR1L4=; b=CtaFXNG1b0A7COLHTL9gZ0P0PAdkY/ZDmy4UbwGFq6ix03SN7LmTE5FlvY7yNrgK+Q xTne9uDYZki1H7ePG/t7pRXLYuoQpRCN1/ed/DIPUk0Vu1yiHN0MBPnV/y6IZSHjyOLz OlB9thnDtWHEy3kv2N8pywT6k6lQ/SJg0itZbB8GWytj3tMZcnFPKOhjDARJhrG01NMC sBfR3koPiD1uHfAZq+uqMF0Upx1vnd8kPvDcRz+rOv8ukxpI9jWbHPVh5EzKhOxRhCZN JqTrZbhaTu8dvl04fgbCgvegSvHduHk4mWGtcxgiRO6+WyVJLk8nwIznfLl+zTSuCa1q GaKg== X-Forwarded-Encrypted: i=1; AJvYcCUBtgbkvJqh1ZwZRlhPsUMWbRLV4Za8TY8ETYDMU094DsgInjT7sbL8jjmO6yizn6+S8Yt5u/CnJY0DKDeF1zmq4Vdjrxry7p0TB381yCBKYJSOlDpI X-Gm-Message-State: AOJu0YwTCH00z9vjsuCROCbgDAEqutRqhpM68ZpqK1xb3DJNuw42ap80 iRrTSdHnaPsn5+8p9a1bMDjALD+badk7Kw32tJJLHEcoxeA4FMYje68By4qdsWZ9epmNFrX8fm6 VTQ== X-Google-Smtp-Source: AGHT+IGSF9WzQWuvr2wMEGyozUQO7K9UVp16MtXq9kPeGzg8zdiMSf7txQHGnyzqkIc1hkialPRFYFdBrZE= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:8c82:b0:6ea:df4b:86d0 with SMTP id d2e1a72fcca58-6f4c91f346dmr13199b3a.2.1715299928188; Thu, 09 May 2024 17:12:08 -0700 (PDT) Date: Fri, 10 May 2024 00:07:22 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-66-edliaw@google.com> Subject: [PATCH v4 65/66] selftests/wireguard: 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 , "Jason A. Donenfeld" 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, wireguard@lists.zx2c4.com _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/wireguard/qemu/init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/wireguard/qemu/init.c b/tools/testing/selftests/wireguard/qemu/init.c index 3e49924dd77e..08113f3c6189 100644 --- a/tools/testing/selftests/wireguard/qemu/init.c +++ b/tools/testing/selftests/wireguard/qemu/init.c @@ -2,8 +2,6 @@ /* * Copyright (C) 2015-2019 Jason A. Donenfeld . All Rights Reserved. */ - -#define _GNU_SOURCE #include #include #include