Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp75632lqo; Thu, 9 May 2024 13:06:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWokWaQBMQTIsa2mA0Xxe3GQWXodyD0inj+4vcVLkztROgN/XuhYabYfO7VncmoqGwNNpUYr3KkwrYzqFwEldcCkYIQniyGin3aZThRbA== X-Google-Smtp-Source: AGHT+IEyxRhxRTwB8ZwXmEOPCH77LffPBNsz7C2moouR5kB2iokbzvm6ANhtDiJyrKJxw1tN3h+f X-Received: by 2002:a05:620a:55bc:b0:790:b6a4:83fe with SMTP id af79cd13be357-792c75fd9ecmr54049285a.65.1715285175236; Thu, 09 May 2024 13:06:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285175; cv=pass; d=google.com; s=arc-20160816; b=c8HrLHeUBKIC5B3KMR4y/i6Hk5dfSNVP4mGadZI/UYiST+qkt9wdSjfW3JWAdqq+tr cdHgEujgbE5y43HHpW+bnWchYaugrz1R5yDDSHgUkW0D39YjaGBc7zhABGD+XHCZyT0z siPutT5VFp90Su8TuvW197P5R163Ao+1fAMpxPu7z9nCbjGUHMo8UV/2ZMNYOe4FZI0u eGwd6H4QVKUcJhjxjJVaFeOVwteHOvfgkw1M2gMvD3ypQUmi0/mPCnKdbQqzwIDbm23z YDgKTGGl5HGoyYNB5vnOFYeHYEcG0JL9bxOHUx2DB4rI+MIVTsKxiWoqvQS5X1GAxlqD yhZg== 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=C3wSVWuIBaY3YuCyJCESt9Kj/Ip4PjdWD4+MMXdzxtY=; fh=E2C3IpfCCXCyX4tamG8jMGXWVfLGSDBer0e9diy+sQs=; b=mM2SxpA3WSD02j6YkMv+ZOkHeVVdbGCxPLPl84DR13im+ROA5UdnB8h56jXqmugjfA InADfDUMvZD++DJDbvj9BhlRIxQKtniaFVjel31eOZl1/9r1Kp8x0k1eFjyxKVJesAqX MrglODdn5LdUwCpKIaHXhZJPf4d/Mf/za28jcvvrNyj8H4cP6tfuESJYbnWlXOTrkmmf cqZpV4kVbkRvJ1o7OPnRCVqfboMR1xqog/d5sNtDoDw31BivmW3SqnPjDe2Cy4fqunI4 E0kF/DvxJtk6+gfdbZ90JNRR4EX2fom6BCA/EQTeJSp7lk5hvKDZgmxHYk0t4SGJZfKF n07Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=nxk876M4; 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-174860-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174860-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf38d7a4si217119885a.700.2024.05.09.13.06.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174860-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=nxk876M4; 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-174860-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174860-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EA8F01C2094C for ; Thu, 9 May 2024 20:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5F371311A2; Thu, 9 May 2024 20:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="nxk876M4" 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 77673133421 for ; Thu, 9 May 2024 20:01:29 +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=1715284890; cv=none; b=Q/Fp7vYiN+C/Hj9ag9WimvBF8eqIlk+mgRzdKNta/8Z8snF+Mz9/2mrklT4PyQEyJwcf54oYbNIGVzxGw4/9I4ADNla4GrBMRRUHZ04WOORTlf7Eua3uHXNz77z6JmZqJhs07m4arVb3swM7cC3uf1KwP6osCzfMj9jQauWkaCY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284890; c=relaxed/simple; bh=NLfWchjBMnfj0uHgc+lZRCh3/hwhcn1C4pDxOTbEqG8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=sJdfCBZezBt5/X0aqrsLZlHYnVLq/8vYdn2tfbpUeTGDCI30v1S2HDAJ3fo4/dbkNQdZcNe4U2Y9Za+5DQHxfDBSJe5bIFyCxuoobkGY1CLT0ielCR9kOMrrWKqmDhbUVvIV1vVZosCUM9a4EcMeZ6DIIPiqh/yM0BFbb+YZvwM= 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=nxk876M4; 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-de59e612376so1750033276.3 for ; Thu, 09 May 2024 13:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284888; x=1715889688; 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=C3wSVWuIBaY3YuCyJCESt9Kj/Ip4PjdWD4+MMXdzxtY=; b=nxk876M4d4a7uleVvTf5RtGdGgChoJfyTYNgKVRutTKLrwGPv6yIdH5v87Ml+5M8ZQ bxH1k6jxaPdIqFXxmFU8FSl+KF5EuABHYaoWqAyD/qw6/bwddWKQU/lN3K4s+6QK29NR Q9x4qbNpF+BsZkcUJKg6lit9J6G5g/FFh7WrxsQUYHjBDwZbifXo6G+2spLGhXWy604e AnM08jUI4vNZlxWvdl7pmI0TKQZrQ+uToSYVEX3jCrHrTPjhks3uL+i2N/RT7Z9dkXLR Ij8OY+vHiiaw7Eg8uZ+o6miOgyavCX7k7poZhiTFZcZHWKpgY1GOFYA2OC6crFzE3GCl p+Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284888; x=1715889688; 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=C3wSVWuIBaY3YuCyJCESt9Kj/Ip4PjdWD4+MMXdzxtY=; b=Zk90BH/u8xC841kwue6WA8Sy+Ov6RE+KR6rviFVozfazm9K5ZbjRjQ6TncvixcwI4r g6MIksWtcuSwtqwKM+oztV4cAdt95YXgl/Ss2ALf9Q0SVCnnhZfQ9pDYj4iRLXWa8z5z EdzdfU4SpPShEDBC4piPVq9kfNcVTK/KXUyYDHQaDQ333snbgHg4xRN6MW93oZR0GFd/ WQNr7T2Ayutbrzp4q29hSNRj2TAw/IRbRTDy6N72TZRc7QNBlE0qRntBbbhmPcbe208e x6HzG/rGPKc1sJ5CV62Ec72piQfAZr8TKveQn1flFufIiKmE9n4NGCuwaqB/G1F/bw2k 7Ulg== X-Gm-Message-State: AOJu0Yyp6k61ZD9dZfJA+eGHI5B/CYHlKtdVeP+D8ODaJGUw4wagNDoC 46kCXAr2K0amqOKsRQE7xsIEl3UnPo3oKmpadJQdjlY4nO/LvgmRrdx9XI+UYoQ7y/XAsk+3nb6 HUA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a25:d3c7:0:b0:de5:c2b:389b with SMTP id 3f1490d57ef6-dee4f1924eamr46589276.5.1715284888528; Thu, 09 May 2024 13:01:28 -0700 (PDT) Date: Thu, 9 May 2024 19:58:06 +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-15-edliaw@google.com> Subject: [PATCH v3 14/68] selftests/drivers: 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 , Andrew Morton , Muhammad Usama Anjum , 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, John Hubbard 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") 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 -- 2.45.0.118.g7fe29c98d7-goog