From patchwork Wed May 22 00:57:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669929 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 6445C149E1F for ; Wed, 22 May 2024 01:00:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339641; cv=none; b=GlG30BAi3jhAT/VGBSk0AXPjnHctiVufAaw4BwZvxJTXnWkLwhXR4eB7eZO8OJupNVgWOo5ClWzqPpun6vnRK5RvvEiAd2OLuRJ1MJNr5dEhcZn4e3WrewWtQ17RA0kG35zTm3czM+3Y8P8Ky49Ygl2DwOnON3NwQgIPOuYMBpk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339641; c=relaxed/simple; bh=tVPDCN3nve/NDstBQKdFHgPixwYMad5HmQi2CbHH6x0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=mzHJp08EpuYzUVkYMlZQ4g0BUMqLKWa0dZG+X75qcZzdpS9I1h3w36td/amZShNQHneZ0H256hJNL8J5r/Ig7HbTPvgQbzcso31KJrRb+ub7CkGoxBygL+Q52rgmkMHEFR5PQwlldkRVUvsstV6FjDIyg/WXuDdOoufE8oooIVU= 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=p3OkDTAN; arc=none smtp.client-ip=209.85.128.201 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="p3OkDTAN" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-622ccd54587so216976107b3.0 for ; Tue, 21 May 2024 18:00:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339639; x=1716944439; 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=8mMLRxOyMxZ1YbjHsp9Gtp1tVJ7YpTB/MrMb4PdfarM=; b=p3OkDTAN7UQb+smfYs+2KwdmtSlxl+TjRvwi9iZe/fq3K2wqne15MS/esn0+TOAKra 3ngV6715hJHSHdn9I0Y0rQ2Th2fqNly93X6iBAkhx6QWz+CgomqOFZ/w6oQNRO9y9ihN 3htvKw/jq9CSYoHLJKyjIdjPXQP/HIQzDRpFBB9jmWTEb4sOl8cfWAZqVa82B0RIbsul tcV1vg667zhlDYACpNtY4MwzYr0vZH5fUGgmynMZQEwoUZITxYKuHVlv7IaLrvfFnEOo dp9ljTSA7Q23VLmjIyXLCI8hkNwGLpLjTpRCcFc32ZWxFoZXOZpVOE0i37Sy33huuyAA byAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339639; x=1716944439; 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=8mMLRxOyMxZ1YbjHsp9Gtp1tVJ7YpTB/MrMb4PdfarM=; b=BhN+ytONnyooHAnBqGEpsg0NH7wtDeNz1qjqj9pBIqMnmyQimJlAloFW2qCTirCbCi DG0TSAZ1IW/qQQTPWyKhk4MZ+JICIxGQknZE9wMJODR+sXjyERSwKTRX2o4Dw5v5k6Lo OtiGnNVD2C8TzWfvddTN+9g/A4c3VeXlQSk03tOK1o6pVXQTy34pBvkshDXi9P6bqNuM vWpMFTxqXbuiOgjoEOse1SsYNuPyLPq6rNA3qBdt3DMf/GjjViFFYiQuUrYd9rZU2MIq DDhz6ZgPPSZ5hMMyxtroYZKE5lMyYlVYJq9WQMbie2A7M0CiC49uz/WV/3wlJkGDzb8h K2og== X-Forwarded-Encrypted: i=1; AJvYcCUAGSnJGePP/mfkbN+Au7t0yFcyTWBUOWXAYXJsfNwrMdMgtYnKksZxRkjDVWM4HjshaT5vq0xMWqzO5EmhL+r+Q0Jf X-Gm-Message-State: AOJu0YzMo2BGksY/mgXgmnHZ18RvGA3KMPZnUPEJjwfg+3/JpmgJftH/ 25ITmuiCOPgD5NR0xXZo+K6Me1+aECiF+0TihxQfUySDcqBb9YZrhOwokMwj/ScsKMsWBxtacky FXA== X-Google-Smtp-Source: AGHT+IGJ/NmC5MVevhEcAlb8Vh5DFH7n/e0XuYCFPdZ/GMGUx8MMz7Y1Uyzaqxg9/3KNaRheKGfY5j48R7o= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a25:b86:0:b0:dcb:e4a2:1ab1 with SMTP id 3f1490d57ef6-df4e0db5b86mr217160276.11.1716339639505; Tue, 21 May 2024 18:00:39 -0700 (PDT) Date: Wed, 22 May 2024 00:57:11 +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-26-edliaw@google.com> Subject: [PATCH v5 25/68] selftests/kcmp: 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/kcmp/kcmp_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/kcmp/kcmp_test.c b/tools/testing/selftests/kcmp/kcmp_test.c index d7a8e321bb16..f0e356139e1f 100644 --- a/tools/testing/selftests/kcmp/kcmp_test.c +++ b/tools/testing/selftests/kcmp/kcmp_test.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE - #include #include #include