Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp81527lqo; Thu, 9 May 2024 13:17:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfpmpMW+L4i4S1SW7q6vY6rYf2s6gd/HIN6QxRZ7rQv+6AMiS4EZI+oqaZLh1aoJr+Qg69xpCh6WhHAncIh1hZ/yDyKbkf4LiGRFsXfQ== X-Google-Smtp-Source: AGHT+IGpidsKf1Rz85DrHjQYUjPVLQOiZmB5q8ulnC6XVxZkycX+CuX/IiR0UxR0LmEjT9y82oyd X-Received: by 2002:a05:6a00:9285:b0:6e6:98bf:7b62 with SMTP id d2e1a72fcca58-6f4e02ac4cdmr602847b3a.8.1715285869512; Thu, 09 May 2024 13:17:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285869; cv=pass; d=google.com; s=arc-20160816; b=rl/ltrUifZnzOlxbXLn+5q/Pqs3wdHPYi8f7u09LCs2ZUzBncaG4Xnbalf91fRV34o GfQOvBdpkOlYMfP744k/kmBHY2TDSVXy1VADiwzG40qUx+ujGHBAAhN9oaTI3KSrOVTI V4Dd63Nx830c5OawJCqetS0PbM82imZ5OfokpO4r59brG0lVXf6/U2GT/jPQP913DtdT 4Vag13W00LAqUf1IOQhPpjKvVyn72rQ27dwYXCW5K0ADAmcCor+MfjACzBpMhi/enOWk MXNCpLGWWeRMiScZHIOTLXbdKrFoEZaP+1Kn4dQKYfR4Mpn7GvtBsxfyvqzwDaLFD1Z6 0/TQ== 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=G57nowh4j3zc6dZ0oWotSbgcBjSXunvHMbYgrgfrS5s=; fh=mms7+Ggd8cXQnqDYyIurrP3huBSbSPcW9NevdFqXMcY=; b=znM6V/v9vg8D569gxIlpsgvlxWme93QgFADrwt4QW/hpuR5wUp262CEBgbn0Lm/yBU Bmd/zDZaUY6rY0bjBB+MaVU3/R1oJxOSSrI1nLf5fqWTTBFfnj3Asa1l0YOXW7XpjyRw enl4dJROAuU5rdui/A9aJi19NtDIraPhGv/lAB8l4CPD0fEVhy7KXvz8pPi0u9vXggzM mFLnUWAoPbBP7qJvOrXpmcDLAnOvk+ReWRYCJ0FhvvLiCzbF1BpcHtp3XXkwQNcGMTLi XTo4eo4hyK2jR6UrGZEjYlESVZO1mvcW+LvZ5bunUq05rK49MeDNF20X29B2+M+XRBVM bZ7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Mjzgm3TO; 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-174863-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174863-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. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-63411530655si1997079a12.501.2024.05.09.13.17.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:17:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174863-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Mjzgm3TO; 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-174863-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174863-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 D0A6DB229E5 for ; Thu, 9 May 2024 20:07:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 90181135A6A; Thu, 9 May 2024 20:01:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Mjzgm3TO" 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 70FC513541D for ; Thu, 9 May 2024 20:01:36 +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=1715284897; cv=none; b=CGdUokuHFwbBo0ojLxXjYxSPeaCQtijmL1Rotoo2Zt2KbXMGmvCn92PbJF5V2yFdwHd9Q6IvOzmSEt1mZbIs0TnbCxYS2mMVXhNjZE9ux8nWLvmxHACCVZYEA8YUj2141nhajWtf/T+TYyLVXyt/wLfg+XwzEFhUZlLxsZEMYKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284897; c=relaxed/simple; bh=C3bR+kpQ/pwvE2T/NJgOdT8P13gcI63yQCJySRf7IgM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=X2QPnSsKVcZzK3BAahCjS8WanpPHJgvThdFOVOyQH9C0jLKVL9+HWIIIApocli8PkwInYorGiMYkNrl3MQkHrPBAa95wVq0sblkqrf6aUZnFfrL2WKfVB7oRtv5k5TOjf/MWkh/rmSvtkZf35Be4rcmD3wp/1lL475RW5ocQ5HU= 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=Mjzgm3TO; 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-de5a8638579so2119683276.1 for ; Thu, 09 May 2024 13:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284895; x=1715889695; 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=G57nowh4j3zc6dZ0oWotSbgcBjSXunvHMbYgrgfrS5s=; b=Mjzgm3TOINzFdHhbrwACivH+nHRKigNcSDM/W5emIwk5hFZng5JqVxMukE9UJNyIHS UIfysBaSrRE+oR3Yrhdb+Pn0gVptaVI9ut75QJcSgH4o28o5wIYQHuB3t0sSQ9BhY4Ws bxV3TTZcp2egKigvfuT4jr943PYV4KExGZDOdKuJ0Ni1iKYWszINgwbwTeA+gHyxnIcw UROpmOQvoMWPzeiuwQV7aPlOVgDhzM9vvaUGsS4yirS7ITy0gd1JmUvdDFNL6oYQDH2l 4nFPZ1fX6Bx3WB/w9Joc4HA5toouLN3CGi0yb5dHXRcmd7Sn5ZOn/4wfDtvwG9kiiR05 MDGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284895; x=1715889695; 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=G57nowh4j3zc6dZ0oWotSbgcBjSXunvHMbYgrgfrS5s=; b=OLB0rkLReINTwEh+MSeQhfVlVT5JsYjWLGLrezMTTwyk5CbbvcC/ZvvRRtEyTSOouw 2CB84ynoMkYjyF9B/ZmeDVCubFxz94Crx3j6xX2ybor040iXbGmv9rn4o8Uv7kJT0Bws MedjmqmHpD/xTN7c1w4mokdf2p70SL7sMSRjMD8bUK9iH3+U1LTIKRqC85hrOkJlaiKe VufkhetkCxGSZ4eavGNweDrH3ButuFKOMpi6h2DVi8Do85oOzvOb3GJx3mFhViv7+iFL p3aTtQzMRXc3sdRezvDZFKRA5Nis8uW5/LqPZGsPoVTPtTgv8M5n3w/3ny2F3hrOWTwO pAsw== X-Gm-Message-State: AOJu0YyHxjY2PF83ejrp0g902hXgunfhr2cvwnWzOydMgtfykAFqbKb3 BcrfSZ82C3Oq5KDXJmoXvA5bZZ33C7Y90dpUguSuaF8jbrRwfwwkMD9rnDsNSosZiZjIWx/azt+ qIw== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:c11:b0:dd9:2a64:e98a with SMTP id 3f1490d57ef6-dee4f30134amr46466276.9.1715284895465; Thu, 09 May 2024 13:01:35 -0700 (PDT) Date: Thu, 9 May 2024 19:58:09 +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-18-edliaw@google.com> Subject: [PATCH v3 17/68] selftests/filelock: 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 , Andrew Morton , Edward Liaw 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/filelock/ofdlocks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/filelock/ofdlocks.c b/tools/testing/selftests/filelock/ofdlocks.c index a55b79810ab2..301c63ddcceb 100644 --- a/tools/testing/selftests/filelock/ofdlocks.c +++ b/tools/testing/selftests/filelock/ofdlocks.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 - -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog