Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp187950lqo; Thu, 9 May 2024 17:30:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7Kelq3Krk1SQ/8J5gYE2LlNAsLSwvjtQXMSicSNpsAFxLmg0qCbjtU4ImTM6uh0at6I0VqOaUmP+CZEH4ttvb13OaIfnHcnjmqvQxKQ== X-Google-Smtp-Source: AGHT+IG9nMP0wjc8uLgM6IR+FvwX3bKJ6Bhs7I4H98VbYeO0AcYJERt5K/6eZbVtgBGD6WmUUaOk X-Received: by 2002:a17:90a:c909:b0:2b2:a5aa:917b with SMTP id 98e67ed59e1d1-2b6cc144328mr1096112a91.3.1715301058153; Thu, 09 May 2024 17:30:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715301058; cv=pass; d=google.com; s=arc-20160816; b=xMu3fHO+UVOKIP/WFClifVD/3zdmk3loediG+r1l8eoja6Ijzbv+SoiZyEsblLmoVJ wkKmsE3A6QJ1g3HJ9t/cBJAwdoNWW3SGf9KkqfqPsIB6LSmTQZfShqJIKQw6kcnAjko5 WPrxUrHscbBGsij4DwBPwL6r5Fo0huIzhQXIJueZv5rwrHZ4Z5DmyLZBg8NQGHa4zQjf 822vA9JqhJICVJDJrT4R/1Nr0pZn+oYPPVoYBgFY17WdMlwYOFCt7zoJgyEMRSziNjRB WXWApzv0NES2HceCbDRC7RpLUXo9rN9s8IX6zdGQllu0GTwIG5DIndgTPU8zJ1kIAtHw SrPw== 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=AZj1Bq1Ph7aHtca1pQR7ov3s7eEPL/cFrYRcMYZmLbk=; fh=fMCQud920Kx+2yaFdpedU4yj+zlOag93y5P1pIJIRYg=; b=1K8yjoTiQJVQIdCnD2C1u3fLh5J+jDaZ3JoKLwuuhiirM71XzLxcFGyEPgWm62F/fe /gLJNlyFIWr7D/GMPsaKaYVW+jkuWv7Wzp1XsarBAMLYEv2rRrhKSyLj/vbgWsYecLpf S0sgdN0FTw2Ycw2H6CBPhCZbFQbxOiQO42sxp/7WEi4GLXzHKV3ng9CIkCuJw+EbwYFG 7gI9juj10e7JeSTdUaen0bH1OzdbujQp4YEImtiOmxjW/hDxG1KNs9BHqqfMW5ftBy7V Ws+Ofr1jseVZ3UOzcldroZYLuxB8vnvtfJdnJs+KT7eiR9WkhGRc3vkCDr69cxm/jrQ/ M3xA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Z8jHT0SZ; 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-175134-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b671589935si2486838a91.139.2024.05.09.17.30.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:30:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175134-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Z8jHT0SZ; 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-175134-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175134-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B14E1B22882 for ; Fri, 10 May 2024 00:23:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68E4713793A; Fri, 10 May 2024 00:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Z8jHT0SZ" Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.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 06B611369A2 for ; Fri, 10 May 2024 00:10:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299854; cv=none; b=pWAaIi1QkfbWkc+osUH2q39WQ8iyFdauqIHzBGn6P6Mm05vKGC+Pjptloc1bzEuUWZ0rq39xyhGBlZjvpahkNJ7Xbl3KMKm9nAlycXvO3sav+Z3NddxJYnV3HTcNUTrDMSVpm6oxSL/k6eJs36e7biG0G4SMh6DTSkhewM+VrCs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299854; c=relaxed/simple; bh=pZPIQU6t8knFtwCfwdh1/vCnaaKrP5Vz2eAf1hn6QUQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=FZgnj4MTxeE6k4pDNmK8VDvv/pkmbPpxDOX6It3tAV6hKS6xr7sX6W+cMQHLiSUERCmf/H3YFOgDj6B85bAAH5GYUyLwf/N4QSXfCndxf00nb22c8SZ3SHLgu9EXW+XjPJEyt39x/bcWpF5ALrVKVeiTO8YZmXWOkk6VoA3S3TQ= 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=Z8jHT0SZ; arc=none smtp.client-ip=209.85.215.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 Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-61dc66c4989so1397443a12.0 for ; Thu, 09 May 2024 17:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299852; x=1715904652; 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=AZj1Bq1Ph7aHtca1pQR7ov3s7eEPL/cFrYRcMYZmLbk=; b=Z8jHT0SZFN+ovfqxeslVrjCzTGA2VnuBKwm25fc24l38cXzbJisBSx4NBkha7bjDjB C81kVs1WDRtCVyGGO4CjKzkpypXweoiIuNONG/zUiMICOkIgFxtYUPvWkKxc9pbL3YSk rciA0vQVp9YzIUepzn9w2NPv2RbUwdSifsbGQq/MDhgHTqnba6cUU1eJPxXknt2Y+k3E gvrSApFlVk2se3HxRa1WcLx2CNU8U+2KSmi8ChqNdz6pDP4nIvAiCA+dlVOPNGNM3rou aWhrzqrNmn4SBg6CzXlfD0z0DxjscEhY9i46S1IBIovYJnXRR8Mo8L77PwyyTT+bCRMh yoEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299852; x=1715904652; 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=AZj1Bq1Ph7aHtca1pQR7ov3s7eEPL/cFrYRcMYZmLbk=; b=NrGbekbaPr7MCvLFcpXuIreoA27A8z6V1jcpUAAZuV0dq/W+j5TluMD43ctrF3K1ft cAb5P0BOOop67sWTBDSPi7emVnrHtVAOo9230vgVZYvGgCzi5ONjsPn/hiAaRsRINRAf 386bAjkesSlDXlhwZAOhldOxXXXxtX+eYPTzUsyOVO+mxq4mi8A7TaryS/gFi3Z/TQIZ BsbTOWgR5LZx6rsSbhRU9KGfVHcmxlrqm2M0oWKohYx7pIGZyfiDx7h7tBjMomq0r5+v XladTgATAV3/kHZSJEg7qK33gBtU963uVOILwJMieGQ9bzOqtzsLoSlvSeBl2wI9yDZJ fJQw== X-Gm-Message-State: AOJu0Yzrwd78MPTv2GwuX2SJ2GjgHck5hNsMJcQtrpBonjB3pvUOb3Xn 3SuEOADm2vxLhSQS9xFHXSspyWedtePCrP8sHl3tgU81UNyv2pgv+Dez1VPHSeQfQDhgX0JWJwy YEQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:3f8e:0:b0:5ce:13a6:3c36 with SMTP id 41be03b00d2f7-637427aa267mr2381a12.11.1715299852354; Thu, 09 May 2024 17:10:52 -0700 (PDT) Date: Fri, 10 May 2024 00:06:54 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-38-edliaw@google.com> Subject: [PATCH v4 37/66] selftests/nolibc: 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 , Willy Tarreau , "=?UTF-8?q?Thomas=20Wei=C3=9Fschuh?=" 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 Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/nolibc/nolibc-test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index 94bb6e11c16f..a28813f4367f 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -1,6 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0 */ - -#define _GNU_SOURCE #define _LARGEFILE64_SOURCE /* libc-specific include files -- 2.45.0.118.g7fe29c98d7-goog