From patchwork Wed May 22 00:57:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669939 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.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 34A4B14F9C9 for ; Wed, 22 May 2024 01:01:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339671; cv=none; b=SYIveHWlpYOteuS8eZfZBTh9OpuqheIjqEP1kxYYUCK1Gxg7g7XG5H9sM0yUCNnKZ/eypb3+uzFCJ34rM3za3XUpj4C8H/UnO2T5Q2nVPyExmbPl+FAS3EzAfjy28zpI43/IjshJ3VvOgzUvlG5EGQ3ozZxwLGR/2xHYsqvswsM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339671; c=relaxed/simple; bh=Q1DYva/UlSTqHQRTaRLSbJQbcMd716OlvRndqxIEMKU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=PnMsQe726+ossWeedZIre69ZCzy/ur7JpT1IMse6OcGaXH4zwaXOZx1u2L9DYencNwiAfzMx6xSUXuG9HxVQi7DV9/pUhAXfWJW1z5lFdM/ZWD328nIBVz0UieUidna9z1KF1xcl1b1Z3QUepU0RWZ8Z0ouKB3VL9ROGPr1tV+8= 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=EOQ8+flE; arc=none smtp.client-ip=209.85.215.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="EOQ8+flE" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-62a379a7c80so229835a12.1 for ; Tue, 21 May 2024 18:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339669; x=1716944469; 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=sJwY8xyYNRiC1Lf/cNUb5+1Fjc+rjpWOX5XY3I8SjaQ=; b=EOQ8+flEjYW2CaI2fSvb/awYMRqYUEBFDBbgIJa1WJxeclbPWfA99fxmx3InrLsAn6 cIyf7iRvqmHX0Z29WXgV2XxtF+DjVcFZi/i0q3qh0HOrtjSS5B1u1PezsFJayNzqdgSX xOx4tOM4AwBrB7LqkYMxkrxLXXZ5synGiD19Upix+XAdETGaIFBNiUaD/O2puLjg11ui KnsSIRTmc7NNmGEMWD+ISHmTw767urp6leuMLalrkIJBmZ/y4bx3OhwAgZyUyIAY7bFR YK7klDiLWmObuOQTtSSn/KbU3bgtZCNUaVLi63ILEB9z85JrmDLhYhjHjtAUGofpBeFN WUuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339669; x=1716944469; 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=sJwY8xyYNRiC1Lf/cNUb5+1Fjc+rjpWOX5XY3I8SjaQ=; b=Mkr2jwyEFfVEXF+I+2+JuW1wGu0i9zv/jqTPl8TxUyUsV9LuVCvY8LMD8JGjPPJwH+ 2fT9UMaxb86OW/EbNUiiraMNRzZuBECFbpGhi4TY0QFZ/d77+MfGpylJIBDL9y01CkPN MuM4n881ok/silgIb2D/Lj8/nSVYnDXF75sreRrOYJkUI299qd6wqfF8SK34bWLToprC 8WdnF384LBOBYVxm4OzlgbEnW68Fp8aPt0twhc3vWTrtXZsryGNknLQ6Kb55IR3EImHO CeENBXUqTcCyw0h8sLT4HAwZVZr+2DYXlqCIlC0Tg2ac6e2zeEbXqS+4wp1QyCvlV20W zlnw== X-Forwarded-Encrypted: i=1; AJvYcCUzpXdRFgPNZms+CxQOuN+yxWsFqMUw9zne7/AAzfrNP/Ye0j0A28dA+DhM0wJkaN4MAPFWMxP9LOxe6MsHSaYnlw5G X-Gm-Message-State: AOJu0YxL4qnLNH53CtGVEqARMqglXq4CGmuFC6yqYqReopGGFzUs3K11 ctr8hl8ioQ9VDTmbqq+wUraXsYQiFjfsOlRRX85i39ExODlxZIXTSmu92okm5AlEGByl5s+hYn5 4/A== X-Google-Smtp-Source: AGHT+IFZBsQUor32p70/JGSv4CxrWGq3P3/GgKt0fp8qEjq29ivxGwqV+wZBWF8r2ZaamU7fHDxr90VBVeE= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:6684:0:b0:657:8a55:89b0 with SMTP id 41be03b00d2f7-675f9b7518emr2395a12.1.1716339669398; Tue, 21 May 2024 18:01:09 -0700 (PDT) Date: Wed, 22 May 2024 00:57:21 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: bpf@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-36-edliaw@google.com> Subject: [PATCH v5 35/68] selftests/mqueue: 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 _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/mqueue/mq_perf_tests.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/mqueue/mq_perf_tests.c b/tools/testing/selftests/mqueue/mq_perf_tests.c index 5c16159d0bcd..7be29c3bfed4 100644 --- a/tools/testing/selftests/mqueue/mq_perf_tests.c +++ b/tools/testing/selftests/mqueue/mq_perf_tests.c @@ -20,7 +20,6 @@ * performance. * */ -#define _GNU_SOURCE #include #include #include