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: 798541 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 CB906148855 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=1716339639; cv=none; b=rI3z30BfRNiF4+hg4WhE8ZZrErDFlOH5kft/I6Ia4W4Nr6xcaleuAnbPDF2VJzjRamiJ2Bj4ueTezjI1eS0I6L/vLTGt+soAy69QVxQn8PXUkft6L8M6ic+UrxNqa+sccaB5a4rbpmNT0YxK9gLuFs5vnYq9aH395f/PdW03FE4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339639; c=relaxed/simple; bh=JFhciCbc61MBa4XyewvFb1lKT00Bu3BgfLyFEhkBF2M=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=W7/DmcgfA3afu72vt2FzfVXWQDLs+gEmNoByzbXnixqRQH/9FyRb3lIFWZcoqgny3RxYQUffbobGS4RWqmudlkhoelh4MVI3rlLGKJJt3JeFB6WKpex7BW2/m65ulnOP3uYmjMvRzK0Oi9DnpvRMyh+e51VYJMSEvK62tu1GLLU= 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-5e4df21f22dso299420a12.0 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=AMPhg3J7bQRtZUa2Sn4Goi3rvV8UgKFQk5cvR4/ZU6aFx8Yyd6l65IKwPH1fIZZn/y S3N4kc5CFTcmkiHyP6m3+vUdiZXyZ/Zjs6cakf1Pi+X+QNon9wDpRTM/SJPCBk1OZXZ7 x1rTxo6F2GqyUP6Z8zhomeo6qMnPmTfPpjbhTNz0zVIpbDrEXdSVKt533NDe1d1b5gw2 HyqAKLMkr9vD5vKs4OvALmnMZnw8I1E8KxUJFo5+XgFkoKFbGpYUHgkyh5XkhrJuxctq Dnk11ZmmiSPYs1fDjcMGnr6UDYDAYCmpqBkxlfmoU6bNihFjmMyLLDFEeH490oCOBkIb jcQQ== X-Forwarded-Encrypted: i=1; AJvYcCVNmnuRS83sq3hpaf48tSzRDSbBg1ZzjHSxHGxiDbC1jjSTveTCfWkAsHEt/sDKWEeXdQaTU2azyuSF5NIwxMKVgQfOJ7t4yKhWSwwn4wkG X-Gm-Message-State: AOJu0YzbntybTJ8a6lUgwhg5NMekhhlcAa01oQC7tiO4TZpXQYeVr3Z7 XHTfKedAaosy/s+FDtHLkQmg/vRFzD0G8jCf3WNg67FcxWlRfkCyUt6zqQbuQBfLpQ5YSM2nTAd DvA== 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: 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-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