Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp56786lqp; Tue, 21 May 2024 18:22:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbVGYt1jXxL5lkkRWOG8foM9l4sDvnAJqLwhcHNuE1cZrxNpLioOAynX2auB2vUCinx2YTW/41Gv7BdyQ7y6t2jU3iebjHCbKYF3Pwig== X-Google-Smtp-Source: AGHT+IHagBfvI9zyRA21Hvi3Xf/Hvegzg1s/aLx2Sn+/nEK/SNkwGGllcALid3Md0cn0XFpFKhMi X-Received: by 2002:a17:902:d4ca:b0:1e7:8d21:7fd7 with SMTP id d9443c01a7336-1f31c98ee00mr7195775ad.28.1716340944456; Tue, 21 May 2024 18:22:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340944; cv=pass; d=google.com; s=arc-20160816; b=nzQFlzG8UG4BV4yfq+/PgKdHXiyWdv2QouqQXIi/tm+BWK+Em2NHWbyu1pZnvUowaE DM5fvyqbnq4LWYcMB02MAVEZtmQZSurX6A9Mgv7SeVe7SfFRZp7lMLsoZ/3X5NkV2Qga XKnf2KUTGs4jhQfLg0Etu5qdOGTbxy6x84h24+ESqZg3pvjtUh+hBQXAn/N95DlmmeRb XJkZIWn3AXm0yucsoBRds0aaHdtlkuMBQvLPCVMXffyjSVdIUlAnsTOIPjru3bPrew7X G0GmOwjwo5ONm9KTE8VD5ZK8hgXDeWacSOHHy2kEWdxnidpx1UUmzRN3XsAvHGu2kIqO +FgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=9fXSc6I7YRPoBA8Qsdus0HRtiChwdWQfuChuYoJ2sTo=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=BmCYiwRXBUQIDMslZvhr3Z7SJCri6OAl5W0oHb4WQytkwk4Co1N4C/ax0ZFRHYIBge sWofZ8Prnkk2XcTk1pmdopHsPh4RMBgqRAAJ91IMPgYswrPkj69FQmVthxh+j7H01Gw+ ffRUey0ZZ3wKcXxWbbVZhD71CJahVvqwSdMBwYB1Wh5U92EKRbGov4WqM83U1jLiSmYF 6WV2mW6tqV3lCH7UNMKj+QXWS4kHwA66PhBfqsQu+KlTmfaHMkr1BdJ7t4bWy/aVeQQ7 k/1Bkequhvn2M2hO3+q6FUROU3ZNQmAsUWsaH6K6yC5yCjZzBxKwNQhFHXq/7ZyljeHH abjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="ItcZRn/q"; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-185630-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c15f4e9si20161285ad.510.2024.05.21.18.22.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:22:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185630-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="ItcZRn/q"; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-185630-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BE847282C19 for ; Wed, 22 May 2024 01:21:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0C6838F83; Wed, 22 May 2024 01:02:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ItcZRn/q" 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 B790615749F for ; Wed, 22 May 2024 01:02: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=1716339732; cv=none; b=iD88GZ6w1FMFUwM3gq96TX4bfesADSxxPSdNK0GLoAz1iFr0nGMvEYf9Pb6CIzYvz/Ess1eGb+yfEfxyzFWxJ4JlxBMzmzdRUD0TJURhGVYPQILQHYp6er8Hi1dXcsZr7bcJ1/GPYHMYh5e/5e/LIvKXuwZ9TZX+xj193mrd6qI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339732; c=relaxed/simple; bh=dJ85qN/xTEbZ63SxHH0m0xAmkKXsbnokjAxVAVbXUYU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=FPJd/OmcaurLjoMRxPngwYLgMyO2H0XApOfTQ0PLLjTRfkvDQYtq/FZmresqS7hSY1nuJucGLAFn80jaYZ/n4MRp2BcgZkOu3Ho/6HSA1cpvmy7sWaQuh6FDnEOzwlglayOcMoHFUNOFUK5gSBVQH6r8VokKX4Os8if7PGZOKiM= 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.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 Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-67631fbc1d5so201648a12.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=S5LrKeAkeO64w1JzIBOJ7ACOMJ2KqD6h5BUFmIl2wXkKU2NEfvdQE8PLpP4LNy7tXp 2iLO9ZD1jkYNsbO6dyBXvtQcUs4O8A/NB0Qg6dGrR4rBClPxDpd4PulMDd3unVeo4lgC Wyh8LQaayyOFaBoy4w6f2g/84p6zSt5RrDBVNtZQJFHioFNpC0CsrrxH39wWcIiTAoP4 6IgycBfiiuFfviiQxahmlSxD+IWUAQ+HAg9x2Z73TGoiScdIPGDD04a3b8I5hxHIWc+Q NSPGyLxIYbJd7+cbCASoIk8pt4VILQ8beAlNoyn4B0baHr5CuONlobgWK7D1KFHbxWyv QFaQ== X-Gm-Message-State: AOJu0YwyZ+PPn/sLNzW9sEvcR3qYv4jGEJStCkbf2tv7hU/vZHQPoVFb P9s/qbbR2sDpPwXZlQs+JBxGQkCar9r79lSbD6T1g+KTzYIndO/+nOdGsIjPn2TtaxZewlGxlAc wqA== 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: linux-kernel@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