Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp50774lqp; Tue, 21 May 2024 18:07:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW3pAJ5gjvyN7VjqOs6p61CyEFa8FdpNitVWEi2PnK+MMo2563eAmtasW+h+acIXPqpxYInl0bU+01aNZgb4Y+81exPrg6I3tM+WRJxWQ== X-Google-Smtp-Source: AGHT+IHyt9+ciPvgKClg26qoej7h4X2InCbx4UDQ1x9VqDYEVsiyqiKSomM5WQGx+gd6C6OGQKWn X-Received: by 2002:a05:6a00:8a10:b0:6f4:669d:8c64 with SMTP id d2e1a72fcca58-6f69f8ea48cmr13303860b3a.0.1716340025760; Tue, 21 May 2024 18:07:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340025; cv=pass; d=google.com; s=arc-20160816; b=Rc6EvTUdmmLQgy+7gP8c31CVO4reDhJDZfx0C+SAkzJALDy7yOikCmBOWG2e7ZWht4 K4/AZdsKjXGlptPJKfHvLND4QtiPrrODfv4jTH7aGASwGN72nPlybtPVJ/BAs74COpu4 h5SuTooXM8g4JYqFpB1ImtQM8vT4V2RLv8uMgR8m8v59v2fDQLVey1lM/+Wnp4joIA9T kCQkwgSC0/zWHpxv9BZ64e7L20dos+XcS1bJHc6mNDgJ2uz0TrZx5qNnwfp9h10lCBKQ 37io5D9r4ddHYELmoC6gG+gJfKeu5IehvTuaaeUAd7v0/+mMBKFPF9qG7cN3g2S/Exig /5FA== 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=NK4aimLzcbzcHbun/AiqJMn6SwzGMo+GBjyX7d91cEw=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=HD7moqaHYSXK60iQrCCSK1OgSH1sDXq3lnHBmXt2XO/8cnoKUOAX+46OW5Cds47xUM vruCebr3vBVPcYyRuxyrUsqywdQPNjrZOBiY6xP9TIezw/dFSjTtl9MBBEG7Zv4Dsqwg wep7YMupr5T1MKXwdmX4CkZpNp4+/tW0bYo7NGNLOGIDpTy88Ya7vMgBoSCtnoEvBa+N Vi5GUnuOBgCvD4Ph4yBQmySUUEDW7FRVluGy2Vuk4BCD2AoaL9fMOcHRf8YtHy2sMX57 PAA9Hjwx6bHlW3A0UPIlkw+K12GzCJaNUSrF3HR6PRhe87WTU9TYNEKj0QirM7Pra3mh tx+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=yLTtOhdx; 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-185593-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185593-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f67a1b1c25si5186059b3a.152.2024.05.21.18.07.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:07:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185593-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=yLTtOhdx; 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-185593-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185593-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 67C82281A17 for ; Wed, 22 May 2024 01:07:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C5FB146587; Wed, 22 May 2024 01:00:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="yLTtOhdx" 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 2C53A146012 for ; Wed, 22 May 2024 01:00:24 +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=1716339625; cv=none; b=dm6jw33vxyuOAltj0TNy9DvgEIwVj5q5qAueNdLhoUURSMuYLbNjQujNAM9PuZUdM6vSb03+DXo2IFYD+DrOQ8S64yc+PaG5azb1VjmTw8oeqfxg91Kh08+DvIckMYxWhIujTX7VnDrGqI/PaIkL7kzfIwtdbHPUo3UxghVbb6g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339625; c=relaxed/simple; bh=h2u1MofALu0r1tYsSYukYszzEq5gHMXIX9iUm9aPpv8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=EO9zVv5YFsMU4wJAE29uh1fAwlXkNxiWa1+Zn3H050jKc1ojYSkrqvVaP/mZc9fvAJNgS9vcVCO1R8ZtQ35hIzMflcwOPnG6zBHXncPf1lYStbVdwYP5BGHsjr+mZlEga/I1ieaD+Mjl/27Mu1KxGHdc5jv4za22RCc7WcrAM2g= 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=yLTtOhdx; 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-604bad9b2e8so12370828a12.2 for ; Tue, 21 May 2024 18:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339624; x=1716944424; 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=NK4aimLzcbzcHbun/AiqJMn6SwzGMo+GBjyX7d91cEw=; b=yLTtOhdxpJw7AIeqoZGxYnthyR5KhjOoSFpQitVZcURhgTCyvxMX6vR6juapy7h+9N f03TpNYeGMeBA2y6LMHt9QFomIFDpn+CVL194UM/v4taGt9aBvWdi3Fv2OhKx9l7uaI+ OtycS5kol5aPsydq+GkLGiyi/ue/5wk60oWOoHBIapZR9nISOLaGLcJMwqcAPg6ToIir HSrVYpWNCIZlrZxgOK5i4ZfJMO2nO3W536FYc0ZRTTuBEu5wtuPSvWWCWgxn+uLmzO+n MpaNZX3StcGh5spUrdn+qtPWbrhTBHNNFHlsh+NNK7ZH8+slrAU9YQtfamDQgsXARoT6 6rAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339624; x=1716944424; 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=NK4aimLzcbzcHbun/AiqJMn6SwzGMo+GBjyX7d91cEw=; b=PEJCN+HxnhFudnYPKu1IzMFvV9Usc7hnjc8sDq4TyK+q8loEVLWaZ98sFVW6xo8ZGk DM/oamcrLX49fKEjPsH1aOotfsGnzNhWqW8Nb9caPOU5zbBw7YOQbeLyXVMNTmzfmzUi ZtvhN+spDBeOt+8iev+U44lzSKtbJpU7KPhCtKkOxGbB0cleNOiAxAn2b0AQTDNaI/mN U0sKaRRy+qb64OuAeyb1F53Tv/TXBh6xge8KWTh0qqfrFs78R4TSypyRwg2i4QJStTyw JnV2kC1brAMZ/NqTwf8SBZbyrUIyJMxWQCwiYKwDwo4nB8Zliso8stRd6P/RK1ERHgwN yCiA== X-Gm-Message-State: AOJu0YzuvWhJI625V7F8A58FnNZZ7UtysKoG3Lce9wqxv9FcP3TkTvd4 FkVLVncYl3AtPQWWx8Z95fAjOnKxC++N5F4J19S0Z33x0cwOxL3piV0XAza4h9BBOJitim1PdYm 9bg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:e74f:b0:1f3:135c:f70f with SMTP id d9443c01a7336-1f31c97ec7fmr402795ad.6.1716339623577; Tue, 21 May 2024 18:00:23 -0700 (PDT) Date: Wed, 22 May 2024 00:57:04 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-19-edliaw@google.com> Subject: [PATCH v5 18/68] selftests/firmware: 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 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/firmware/fw_namespace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/firmware/fw_namespace.c b/tools/testing/selftests/firmware/fw_namespace.c index 04757dc7e546..c16c185753ad 100644 --- a/tools/testing/selftests/firmware/fw_namespace.c +++ b/tools/testing/selftests/firmware/fw_namespace.c @@ -2,7 +2,6 @@ /* Test triggering of loading of firmware from different mount * namespaces. Expect firmware to be always loaded from the mount * namespace of PID 1. */ -#define _GNU_SOURCE #include #include #include -- 2.45.1.288.g0e0cd299f1-goog