Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp50503lqp; Tue, 21 May 2024 18:06:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUWQquYyzZKyCfM0K6ife1I/FCJFefAwvU5SO/pZBBarMF9v8WyuupubvSd3D0XqF2h/IbAk02QxiPH6N9dd+D7CA86DZrEAf/L9xGMlg== X-Google-Smtp-Source: AGHT+IHYSMr+Wl1JzakoYPaE8Wi3JLe2aja4s9F2lldZ9h7y4/qQ8nEYuZ2cpsffYCd40xTmEi8O X-Received: by 2002:a17:906:f2d3:b0:a59:bdb7:73ec with SMTP id a640c23a62f3a-a622820adbamr34992366b.72.1716339985570; Tue, 21 May 2024 18:06:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716339985; cv=pass; d=google.com; s=arc-20160816; b=J6yXZlMzlZnCDY4QOCpt6iZuO5gNkcoCWCdUosCazh5GYO0vZN6gFEdFEP26d4joVM PIKym0TvVGxK6uiFGhhgpgfgqZ14WOmmcIxOY1O7TxyAEfKUsMVrQ4bxflJ9Rve3bYDW h/+T64d79J2DunDTlj5nGIdNm1zfsjRJ3me1GH4Qf2EYCTbSR9Z8Ccqr6jGN2vnIPPRg dZkEmvoawNWmh33+LIyh3Y7pg8bI+UXDtVKn8Nte9zoL14EmsrAHduzYBlqVarMCWsN5 N16r2Pc9nuK5OOVVhhIma6IQ3I1JMI5n1msyfSySdryQMDmnJ7Y73O0JQITq7Zt13A+F UPOg== 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=euH6SpNkjpR6Tnz6zGeol1ij+1qgoiYexMkc8Ht33no=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=AEbY2l380lf7zkOAl5ZT6lnHFlStfkXBZuUOh9/M0N1SidKgsn5OWrZlX031ev9uQM Al8I6RUu0+ou5Gs+Q/sWeBtIPUIJp6tx/UXF5+QFejbNlrX8jBz4BY3cvbOGMMsJo4J1 /t3Ol2NpmgT3BvJFVZg/iSwrYpqKXcTSlVql60JDEvEx6MVPZCVKPbtGdGAb1XBedGuc lhqXHgVTg2SUmxfPsaFcqz+DtSzl0Uw1NA3hrysx5qjFM5RxY8HBfUkTZNlQIrDcaofw YyiAUA73ok2gmrSITvzPtyhXx+9ZqMbH4uDgaGXYrQw0DYomDXpzgbyY6qAjf68pvX48 wQkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=vwcUJ9FW; 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-185591-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185591-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba3c8asi1515840666b.607.2024.05.21.18.06.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:06:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185591-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=vwcUJ9FW; 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-185591-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185591-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4F02E1F21EFF for ; Wed, 22 May 2024 01:06:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1762C145B29; Wed, 22 May 2024 01:00:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="vwcUJ9FW" Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (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 F1E3212FB09 for ; Wed, 22 May 2024 01:00:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339619; cv=none; b=M+RgbRBEGbL6a3Fo1OW9DNjKF4jFV597v8cL+efsVEvLUDDe/8qSN5mxv1fU+4QJxnlt11zkjV4m8wYgrsMKRXqpY97lT5Hx+nEKdYl4Lx/m4QKzAmQgiSR6IyXZ6kakZFQ4ZcY+rHHQI6cLx+PA/v0Oovbnd8n6iDTX5sB75kI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339619; c=relaxed/simple; bh=3Gx9Y7koEuLmKWFa4HZRsro/S/wbBSvGswNHCVIdU68=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=fD+Vb2SMt/fWWM8ug5Npk+we/NL1SAqMxKuf+kRL51BnloY3T62V+RtpYg3o+zdIkSF+/qx0K/cAXQZ6d6Z9nCZ5D1XowLKyoSnKP1KQZRqw5MV2hr2VT6iQnbwoy8sT5BkcojJJzbHuRG3z30/Os44l3xoCMjdMSt5ITGOUKCc= 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=vwcUJ9FW; arc=none smtp.client-ip=209.85.216.74 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-pj1-f74.google.com with SMTP id 98e67ed59e1d1-2b2a648f23dso11427618a91.3 for ; Tue, 21 May 2024 18:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339617; x=1716944417; 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=euH6SpNkjpR6Tnz6zGeol1ij+1qgoiYexMkc8Ht33no=; b=vwcUJ9FWdBhqZVaWn7cQicw9YbDmqkFJmyg+GqRsGG7NCYi10ndiXm6uJPnF9JEkRW cXb/Wr7xDf8EVjxlUXa9BN8aJoeKZDRtKY9jzOP9mkWYW639TKCDrZwyKVAHo6i7GOL3 PZh82rWnwmeWBLeqJPHkn3+6aMxweCdDf05X0mMLdBfuAH9Rnbb26YakxKR2fLCuK3Kh D/tKON1tAu5V8ou1NN+iLILgr/QKVxx1pRybm134Q9zOFe6rGPJwW487JV4SyhT6U0yt 6hB9Sl47+oY6iA+Bazb+jHMq9Z8BZxRTIuiXiu3rJMVDTSloKa95P0qJzz1Uj9mTW6gU 48Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339617; x=1716944417; 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=euH6SpNkjpR6Tnz6zGeol1ij+1qgoiYexMkc8Ht33no=; b=uQTfukMHmKFHiMQ9BJX17N1yQGMbRonJpkbH4T3bbYOIvZ5LUmOg5RXA3TZcM6OVdh JtP7WmR9zJXf6jsb69GkMGPLFAZOfajWDDAsYmS6wuROsMt/yHNNp0/OUemIvUEXZ4Va BLij7bwnlGAYpljC5scx8/xWFgErpCvQvOfXWiNhhJfs88d8lPTWaS5jevpZPKRmid67 UZ115bATJSxk4jI0dlMYE5LKyeSsFBqs4yyDFjApCJjAq8SCTNGXk0cewa9M3lFYiIjh j7kLwUNM50jHc7qGVJ5LyMhGFTGXp2kwxN/HZGjV3ibxasIpbT0O8YIDEdGfezZABHlJ 79Hw== X-Gm-Message-State: AOJu0Yy/lqp2sUyD3UBniNkmLF3u6VX3LmdQkX73bEM3IemobRtAwZ0j z4oMVdMVNOtP+zITdIcQGmbibNPJ1Lfi7fhTbWIrxCgKKR/6qa54sPrAQBbk1RMMbFx0FMK3xSQ HZg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90b:695:b0:2b6:208c:8520 with SMTP id 98e67ed59e1d1-2bd9f5cf34bmr2018a91.6.1716339617419; Tue, 21 May 2024 18:00:17 -0700 (PDT) Date: Wed, 22 May 2024 00:57:02 +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-17-edliaw@google.com> Subject: [PATCH v5 16/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 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/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.1.288.g0e0cd299f1-goog