From patchwork Wed May 22 00:57:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669928 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 C8D7B148853 for ; Wed, 22 May 2024 01:00:37 +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=1716339640; cv=none; b=nkK/TA2rPSPgy0muIbmfRqNrm/pvz/AVZ6KbeOUnlw6EJ5fOuMo0lrEH2rwxZK+VRRhpvXpMEbDbSZtxKTfE7PpnV46Zn/ZLDfoaETD9PNPpLZJkVfvEEXjOhrQ5OUUxAZiVMcieCF14RqntWv9eCTI2snJaQ4hB7/EJUCB5xgo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339640; c=relaxed/simple; bh=JFhciCbc61MBa4XyewvFb1lKT00Bu3BgfLyFEhkBF2M=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=AOSkc5nqmVzNL28gKD1grRzNYgJ8nN7DVQ2S4Xr8a2o0TxI2ZxX72NVNmGqAntnWezH+CHhrIIutkPAmSn7PT1VgY7G6oWG+OAARgcsatF2JgKLuJL+vw0zox4BrmtCzFoHOvJ68/1iLY3yExsCv+3e6rkfPiSd/NqkBf+S1KYw= 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=tJyjl3Ll; 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="tJyjl3Ll" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-62a379a7c80so229316a12.1 for ; Tue, 21 May 2024 18:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339637; x=1716944437; 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=JxajjTXnYYVOFD9uBYzEDwXtIEu/3Rsj0ndr4XzJYGw=; b=tJyjl3LlC40c7l4MvoBWOON7OCzq0T3nLPe5vwJH9t2SN4J8/6rWW5ZI7jNkIi8/c7 gsoILil87wyJfIRMWhee+QD1eQ25BFMB/oNT7+xp2xDHmK5gvl7e1GNhnLQHMbGCelNY Y4g+PXx/5Hd9R8Y+WTRzCgEAfDfLtK6oNbZiP6s4y/ma0sTVIGUk0yVjt59UxEOwd+H8 DqaVM+S/EaOOlp/AQDtrQAH5vOSSr8LM3g+Om7Y+bhPaZ4bX7P9mZwef34tMM8fQig5D wz1ayQePg75RGvaxuxVDudCexW3ck2idYBGDSKJn4I252m0IyIwHJcvSZm8qNog/JkUS MVGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339637; x=1716944437; 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=JxajjTXnYYVOFD9uBYzEDwXtIEu/3Rsj0ndr4XzJYGw=; b=Q1lsjh7+rQTzyggxlbffbH51jD6sOzD4KuJxZcBQX2MA0Id3fYdj/EpNTv1TmhDtgp HHI+bZUuiYQYm2PUQu5J25+e9zZhjA+fC4uGLzJ8OzA287nRnoVF/8IDJyoo7tgFLZ9x LrgXIJSwDReaYBGKFIZs/urkFy9N1Wsgo/5T6p77BU0Tl5B3aHlJWzmInCMcQbtlt7Nb q/w07rNFdDqIajtt8mIklq2rX015TpC+UyoR0BlwWRASZaUW28lzhDyBbvGARmDjyxSG hgWjC4+0lCySiDLSZMEIYhbO2yARKP2HsT9zzZ45M38PfYpRjQv884XfJaD7zp4McS8W MsZQ== X-Forwarded-Encrypted: i=1; AJvYcCWo/DCd+hVQTImg5NTNIuD33evvl3cr80qw1fzVeG5Fj+z3r13QTgHCQt+x7Pn9gNgV7EKSsrJEk5B7jkKfC5Fr5KGB X-Gm-Message-State: AOJu0YzT5BYzKz9hwIljO1U000lKTKH3I8JA2FZdaR7hmpLFJ5jdgpZu BH6jk7ZJa7LVFNBCJot3Pu6GveO8rot+lmI/EJUO5cA2MxWro6M6WJJmmnD6GNQo1EMR+DgxbVF sGQ== X-Google-Smtp-Source: AGHT+IEnjqQT67JKIH5im85s2TXusw89Zmodc/cXnUeHwbA1PsuQIpfWppspP0Q6xlgu0hmLR6KjvP2VuXY= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a02:59f:b0:658:7c4c:25b with SMTP id 41be03b00d2f7-67601b5a4c7mr2750a12.4.1716339637230; Tue, 21 May 2024 18:00:37 -0700 (PDT) Date: Wed, 22 May 2024 00:57:10 +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-25-edliaw@google.com> Subject: [PATCH v5 24/68] selftests/ipc: 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/ipc/msgque.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/ipc/msgque.c b/tools/testing/selftests/ipc/msgque.c index c75ea4094870..45aba6aa8e1d 100644 --- a/tools/testing/selftests/ipc/msgque.c +++ b/tools/testing/selftests/ipc/msgque.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include