From patchwork Wed May 22 00:56:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 798313 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 E1803823DE for ; Wed, 22 May 2024 01:00:10 +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=1716339612; cv=none; b=NAKmceravs7HuoGEHfBUaYP5xygCBEXjWkTHF+zP1wIMWZgulSU4I2bfMk5SPe+Gs/6+oH2ZruL/3sk4c0hnY4YdsDWPU+jh0YuM5XXqfraKfIMrCUXdzN+4+b50CyZY/uO4MttN49EuN7ADqKqIyFD0akmpdHhiLVjSyKmP5gw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339612; c=relaxed/simple; bh=S1fHZ16QGTzRdof7kT4XVR0on/jJvuLWPLTX5ALLxIk=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Sn/29GFC63V4vKCWzMlXpqSyLtQ2ZB8teUItX827l/+yPFpjcLrIBDOqrhR1gcdMoIjWHPVznumzYg/lle1ZpZC68R2a1FnLmauvtzs3OHc/uWfRy4V80UnLy/yBqi9UEjefJzudz91UeSRt62qaoenNqbeJpEN1TYlOPy7L2c0= 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=roZaxLIK; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="roZaxLIK" Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-2b38e234a96so12244036a91.0 for ; Tue, 21 May 2024 18:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339610; x=1716944410; 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=k0SrfosPfaORMORiDV3L6HqdThQeC5VRMNDfvSuUG8c=; b=roZaxLIKbfqCeY7X71vD8nhyFc4CE7XJh8ZvX2oUUVFSYNtO01h7bDZlAeI4CMuGSF PUAsXXw1bzEdpv3HqWpDpNbB9d3O/6Y2qyjLTK9l9+pMuL+OTJfYkW2UtFh6lQGusWFP jpUesHxsxTTquD6Tk04TO4iYc2mYKbqF+xlTnUIfeAuWKH0YWLx9OSe3C5mvZwLij7oe CNDl90LiLwCBStzZ2ZVpNVwBSziOEjA+4ou75tXFQ/I8QF3nCXgPbgC/uKJ6dpQZ/Mi0 1dQKCD69KY+54w7XD66/1242Y2Tec8X+5H5NR4fXRbpJ12RsODj9wos+Ep5PKU+ggH0x HzyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339610; x=1716944410; 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=k0SrfosPfaORMORiDV3L6HqdThQeC5VRMNDfvSuUG8c=; b=pipZfGJC4f6QWLH/GynrJFwSkl1LchxVuGzYnPtvaPN/vj14fgYTXwSYUdaVnMu/Q2 K3l3uW633a/Ux/o7PlJA88krL22+zRFXQA3xeAtQw0QaZmtYErqLA6ufLfYu/I5xeEFI YijFcufsukyOor0oX0BR0pYagGOniOa0M7jc+yxmEeNIiOWG4UXTv+AH5NXt8vrGEpwA p28UlYteFSFk+XrG4R+7zjEDLzjgYwLr1WuQNroCuBnjYdmSDT6uQ8lQMb2Hd8cW4yAe 7yhU527D5g7Sp8ZgRbg0HFUFtPCHO5W9apNgVyjNdGfptNEArayPx0Pq1GeuK1CKFSRd I4Gw== X-Forwarded-Encrypted: i=1; AJvYcCVyaRdzDM9xGI4hwvhtSLUXCxLO9eSpgSGcUBKepkwhOtpnwDaCkWV1dtd+v/FN3xs3xXPMxAAaPAQ264jhfQi/ZWBSuUYkvZSraJvsFucy X-Gm-Message-State: AOJu0Yx7ReS9YToXT2buq0W8LtHbyjlIkMXB8PmVp1hCs1vA8HNM68hI cTq1BZeKK3grZ851p56X4SFmCSJojh67p0TSBPfMlV7DrEIUb6D1DxqGSqZ2pBYw2NIYUjbpXrm cmw== X-Google-Smtp-Source: AGHT+IGUpVwRCqPawwzanMXPOZwgNaMDkfSqd1hp2W1p1CdLiIMpUGI6bBPVJi6DEWQCXHcXLDTPCIyai9A= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:f688:b0:1f3:7ba:db47 with SMTP id d9443c01a7336-1f31c7f28aemr145555ad.0.1716339610323; Tue, 21 May 2024 18:00:10 -0700 (PDT) Date: Wed, 22 May 2024 00:56:59 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kselftest@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-14-edliaw@google.com> Subject: [PATCH v5 13/68] selftests/drivers: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " , " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " , 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, John Hubbard , Muhammad Usama Anjum _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/drivers/dma-buf/udmabuf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/drivers/dma-buf/udmabuf.c b/tools/testing/selftests/drivers/dma-buf/udmabuf.c index c812080e304e..7c8dbab8ac44 100644 --- a/tools/testing/selftests/drivers/dma-buf/udmabuf.c +++ b/tools/testing/selftests/drivers/dma-buf/udmabuf.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #define __EXPORTED_HEADERS__ #include