From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.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 9BAC236134 for ; Wed, 22 May 2024 01:02:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339731; cv=none; b=P9HbWVXZQfJjLPOVx1mfTgcQQHRKIy8T6L9Nnq45WjGNJ+BisW1oViqSEOuCeHjP8SoeGIOAHtVbW1sBq5yS6wRS718nXZ1x6ic0ddxEf3yEd2ihVHFC8KyEWcSWxZr2AcjbMbzWd8+VlQ1zMr/K6B/eIkYvi2YH+KiIkOw13cY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339731; c=relaxed/simple; bh=dJ85qN/xTEbZ63SxHH0m0xAmkKXsbnokjAxVAVbXUYU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=pYBRaROHzRxjsHPv00mbcsR+KxzXEVFH1DJhnLIKEnrBpaoeK+/yr3XbyNJn3CE5rtWFKYsIhU6eZBnamUG8Y/bAcqcytfgxt2HnhZtDouEHqD7/Rm4WT5Lgcf9P//0ncKtXeaLe+2xIIjaZRs1mIARlkMQlRCvg45xtOzZssck= 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=ItcZRn/q; arc=none smtp.client-ip=209.85.215.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="ItcZRn/q" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-67631fbc1d5so201649a12.2 for ; Tue, 21 May 2024 18:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339730; x=1716944530; 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=9fXSc6I7YRPoBA8Qsdus0HRtiChwdWQfuChuYoJ2sTo=; b=ItcZRn/qKy0+dMoDHGMHF3oVnRGIuHr520WDVebGSTwNdUlB6hTHiFCioK9oRDxCRe /qojIVW0aTa6EfnvRzyvptrf5EgfOi7cI0jYb3u3YGl1kduogCAG72SJtVwBQGEBgTeJ sRJ9SQZvaDXDtErpyA9UtsUOScr9CFJJsweFtmNyatXusEu7Yjio2JyIj4rP+1YKYwzO 5AI6uHiNgh4vkw/2LylW4XY2t+acjxUwT2SrnRH4D/0UaEyMFw0t9LDy6SrVaxz3KgJd TFbSRcATbESjj+Mi2xIjVEsaiNz6YuFfmmI5xOWwufXXjmJppsBzX040SWRdrR3Peybo s0PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339730; x=1716944530; 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=9fXSc6I7YRPoBA8Qsdus0HRtiChwdWQfuChuYoJ2sTo=; b=DATWbDEK9prPGtoqG3QAQcatUmYL6LRi8XYN+BrxM2C29d0YGZHvppZwqTP1ug6sBg 70JmT3CIZp4Gz0RDj6gqLnHXtGJ8n8mkHy8S/23Br4cdnMAbChioDrEZke/1i/F7WZoO vz3Cbgpep2I0rqbdvvVztVxb+13VhmLlM9NMJNzxZd/1IxTUP6EElQ0OHCDceVUAPCBl cQycuVuWKz3Wy+4jEU/OjC9f7eiieve8etHDy3eiC5FcaBmwYfBtO9ujqB+8b9cWTlHl Ycw0IDKXj5XNo6XFEDCJsYXHZuODEBQhsfFBhPYV/fthFuFqK8FEF6h+O4ShLjDXs2Jk Ob4g== X-Forwarded-Encrypted: i=1; AJvYcCWZ6ADkZgQ/bLoGCxdRmrREI1g3yfKlf6PksqYpHTfWHyEUbXxn6WUBd25t3DTTxvbF6Wm3yzUN0S1P5ZjIRlWC+pyq X-Gm-Message-State: AOJu0YygJQOQdt3IBTvwUuZZcyCGc0oogJmPhb7QVnjqgtkj0MDMoF/x ofxmu4ugDaIjbbOsvHr9W4t21rdVkZpZm0z8P2w2BWPGKskpUofjEY6cvuw7hfDNPRMRtQxjVHP bdA== X-Google-Smtp-Source: AGHT+IHRMV7k1LU0lDtq57tRvT7lk2XfR2s4R9nKcPSkC/DgzGkI8VQdGVam1DqlKbogDEXoBxPpDW2FdZ0= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:9250:0:b0:673:9f86:3f1d with SMTP id 41be03b00d2f7-67647ae60abmr1189a12.3.1716339729367; Tue, 21 May 2024 18:02:09 -0700 (PDT) Date: Wed, 22 May 2024 00:57:40 +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-55-edliaw@google.com> Subject: [PATCH v5 54/68] selftests/sched: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, "=?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?=" , "=?UTF-8?q?G=C3=BCnther=20Noack?=" , 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 Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/sched/cs_prctl_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/sched/cs_prctl_test.c b/tools/testing/selftests/sched/cs_prctl_test.c index 62fba7356af2..abf907f243b6 100644 --- a/tools/testing/selftests/sched/cs_prctl_test.c +++ b/tools/testing/selftests/sched/cs_prctl_test.c @@ -18,8 +18,6 @@ * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, see . */ - -#define _GNU_SOURCE #include #include #include -- 2.45.1.288.g0e0cd299f1-goog