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: 798302 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 022FA14F13E 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=1716339672; cv=none; b=AOFskwACKzPzhKzDCPNRQ7MiYu9pcsCy+ALJ2gPI/Sh9Mup047ud9DbDpfnQk0ZpHfA9yZTwnp76aAC7vzb1X//Sose1C/NbcBD0TGJJbTxPUABVqdnLcFEkoBqyo8Q0LCWF9eeHsPd1GAs37huXjn3PYCvH3yO/CTRXGmI7Ldk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339672; c=relaxed/simple; bh=Q1DYva/UlSTqHQRTaRLSbJQbcMd716OlvRndqxIEMKU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=mlE2HBOPa9Sf3F5O3dLq+yuIjq+TgFDgJS1LmaPxVTmSboMRMLJSNZa6iHmhaJzEuoZJ2V9fCdc4aGM+Ra3vsAPDZMDwAAlzI0iHzmA7tuUdE2mQ1UDPnKr5NhsImD+uAqbVdsN6ViZVYbtneRsgniGTvufzhn/IG6j7Bvt8Fss= 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-62a379a7c80so229832a12.1 for ; Tue, 21 May 2024 18:01:09 -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=HLNi8wGCO+UV4T1xJd+EXTfj/gd/nZTXvFdVKsioldvBTktyODpQe1nG0YIVVJ+VF4 QsSFPa3aXdnSYTLGRb9kKjJ1IQxtR8ox0go7dSEC2Id0GTkGaA0OoNtfjMz4zq/RfQWE hCbX+xAoLZPMRN1RTHrumLV8zDBLPlB4iDhsSbZ0FLNP48CLeTvHforNfzh+AJDXNaQD FZt8wfEuEVU9aC/3JYmIx0eer7Rz7TQmaUzCl0P8DhjXcDD+iQpVtD/qZ/tapmtgf+Kt MCL23lR6MNoOcDdo4tgutHsOZcOdHwehWabT60MwsWKE8PcDfBIkoorWTLtVw7anX+uq zWtQ== X-Forwarded-Encrypted: i=1; AJvYcCWdqDKZjPo0tHmHyXo69gOnY+haaBziNXeE8BIcmQTHBVHMYLSgbzq0Y2mNo8g2RsRfcroVqizP2zfO6yRdxblo1kjKtdxBoZgskXiHKEqV X-Gm-Message-State: AOJu0YybzQpqnw0kx++YLTwPWFiDhvGUrLGIC57h7q28IkW3MaUSUyrP BY9nDoN3Ub2FHYqQBZUDXJCATYkbWsDNQk+gBdIP3aQG7xgUuI7zRq8p3HTlE6Euzr+hZLBn4ji UeQ== 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: 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-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