Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp81747lqo; Thu, 9 May 2024 13:18:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWNqlh6y7koHYsx+MAt01hMT0nCvxJxQ+jIsn8gyczTZUFwIQYocMgkFHLql3hvbjd+4BrCFTuBUnxSJR41c2wTQDdNTqz13P+5984I4A== X-Google-Smtp-Source: AGHT+IFuF+/Mp3ybbLFXCQwt8qJVqaoL4ikqasTPFPKd1gGajj8Hgag4yD5qfUPuU34oLfTJyEGd X-Received: by 2002:a17:902:9886:b0:1e2:577:f694 with SMTP id d9443c01a7336-1ef440596a9mr6409405ad.61.1715285895305; Thu, 09 May 2024 13:18:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285895; cv=pass; d=google.com; s=arc-20160816; b=sSy7SEjXgIlYC/hgkpPIKPDdLp3lnHaoFG66WMzBZg6bW8FF5E3J60RcimIodga/dJ cIqvckR8/XIswoepzPdE8cPjbyJJaU8fuYSNtmL4bjb9lC5WvvfU0+SewjpkZk9CW3et k+hNP+qV1CylL6CMLAiKDOWnV+sHe5BnMbvb09RtbT+AzmKYlOW1DQnagU+D22oz5C6h /UgthSYpWeIsdexqv9WBDDmPme2BebR2y3OUHmIQu1YaMmp6ofTn9Labexed04X0bnVK KmXxkfbg2uAOB2OdBQfH/W6i09iTSvnA3388VZNZgOCcBRNbxWfIZ1tzr8GV+gp/Sb0d 9dIA== 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=WlZHqG8GOWNVngCs0QnGJEkofrx6wgIMd4fjiXkUQc8=; fh=s7/ZAITDlQ5FY8SIkAw3vQztG8q3Rg1hbdLdILGYPZo=; b=AetF/Di1VzpZBmpaKW1SbhWJ8YOgjDlSXNuU4xWOw0xfg3biqXmgLFvinsblnc0YgR 0K2KxJYkpy92+WK0gMEpvx2gNG5HQabwFvj/YE/c735+yVkLn2TXIQUNdY0yQHA0L5i3 yaEOtM/hmtSkenrLsCcouPvJDqVMLAXfY/Q69jbFX3kcsmvpK+vzBhtK/npYk5ypiFPF cWApqFaMAG5ogNo2ifH3BJhSTeZTL9f+dsd/363jdOK7DPKSlJQg9yxQmSF8ND3N9LBf dH4StgH9gEmbwd2W9inEq+Ktbq0qA9MrxMuTw5VmwamAn5scus/iVVaGXWI/8Vf4WxKI ovVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="hZ1i/hQ3"; 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-174865-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174865-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 d9443c01a7336-1ef0b9cf211si21827725ad.74.2024.05.09.13.18.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:18:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174865-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="hZ1i/hQ3"; 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-174865-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174865-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 D421EB23465 for ; Thu, 9 May 2024 20:07:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8B6E1369A4; Thu, 9 May 2024 20:01:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="hZ1i/hQ3" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.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 9DE2884FDD for ; Thu, 9 May 2024 20:01:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284904; cv=none; b=t2XwERuSXaVLfqOxwSh/8Ab0ZzeDyjmg8sb7ENtiuFIMcNtaD7e/URmNRx0v5QA1Xhidrnof6Tlm++WSBBT0/pwBJo0RYVUwKJ4gIDVoF2fhYCmz+DEbPdBHaJdvTzsZ9OJAEUlv6oT52cg8pFbNOrTetBLzJTZs1LtK+2deGok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284904; c=relaxed/simple; bh=IwTjZ+QkHecjItm4ac17VTR49XMvagwZXgy5gGzNQGE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=oL1MaLRF24CTs3Oh6Ty4+p0BoLAbcL2D1583clhFmloSf31LeimBTHo87tX7frQKj8gu7Y58gVBWbxZRSNQiztfNSsWKpGDw+v7Fz2UlTWuN69oymNMzXkiLv5g2PWPFmLCCi9/X3Dlq1KmVENp1m/EBvBRXDoHq+VRbrMVa5Lw= 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=hZ1i/hQ3; arc=none smtp.client-ip=209.85.219.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-yb1-f202.google.com with SMTP id 3f1490d57ef6-de615257412so2188764276.0 for ; Thu, 09 May 2024 13:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284902; x=1715889702; 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=WlZHqG8GOWNVngCs0QnGJEkofrx6wgIMd4fjiXkUQc8=; b=hZ1i/hQ3iQYjcf2650k3wXoi0TtKjLrsTyOhLuuTzHrQfURK5hdVS4XfEvSiLsPFpM g/S2AeXQFJb0jMwwhSYRy/chnRePBxIJwgDq24ueEa/o5td+sslYBrmiBahvYan0jCWH pZlQZwu9URZtWSSo5/pvUZ8HFU8fe9aIYDYha369Y+elTzT0h8sRzFuLO4VkYAo1j+uD dfqa9H3Sn+OQbmG4Knz5s+MW+0xK6k6p5B9YviwXnlun2rOaQmPtHEQSbB4UTM/TV9Om m4fW35iF9TUfeacThNS5809727tL6HRWPgTYIqjM8PRkssbguoXYaokaJ5lRiuEQcIo+ vOQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284902; x=1715889702; 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=WlZHqG8GOWNVngCs0QnGJEkofrx6wgIMd4fjiXkUQc8=; b=ewco8oG1UKW4iKBTABKvqw5u7Qf5A+uMBLffiVdio5ZYcPKxPmQDX9GGd+q5GovP9J KfUuo3pH2ungRaKME8w2bRca1m/5T5NVJxfxDRQI1L6u0S6APH4SlNdznkJaDEUZtlCw Y/eESnYAaGrtwbKQqbbscPGhculXCGeq2a2XaHDAotpOs/ZLjp5k4G4163CPp3Pzq6/k gdVrHHN52We8HW1XYigNHk+H62+A2i3B/EyL1k3GV/iMmf1iZVVbO2/aSLRHoUGVjiZE upHzAK3rn9M4S7vxljD0AmrxhNYM6T7tcOutzZ2Qfir19VF+AFzhlECjDvNqIMtU4cSy akeQ== X-Gm-Message-State: AOJu0YxZxuHr4HNSaulowADvxDVtY2hbw/QAAsohG5z/U4E03KXM/QZj izVjzeuzIsV7wfTcNcic5kACjfQ24y+I+75YsOJLR384PnXNfs3DxVKVdFbIqYnATRsEh80rGST AOQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a5b:182:0:b0:de5:4ed6:d3f3 with SMTP id 3f1490d57ef6-dee4f2e03c0mr141982276.6.1715284901753; Thu, 09 May 2024 13:01:41 -0700 (PDT) Date: Thu, 9 May 2024 19:58:11 +0000 In-Reply-To: <20240509200022.253089-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: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-20-edliaw@google.com> Subject: [PATCH v3 19/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 , Muhammad Usama Anjum , Edward Liaw , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, 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. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") 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.0.118.g7fe29c98d7-goog