From patchwork Wed May 22 00:57:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13670031 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 3C84A15B96B for ; Wed, 22 May 2024 01:02:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339759; cv=none; b=QlVIxAWxDOwy9diCVC4INoV1X72FR6uxD3+9WDUq+X1RSCRp97piPDLO56yBHn3uGtVO2RIBeA2zaDgRZSCIDfMLonn6Imzth1bez7/ScW6bK1fRveFZ6u2OFMzOT+RXbwv14Ur9OdP2lZsnl4/0znIs5Wcf4LbVCGiS2w+cSfE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339759; c=relaxed/simple; bh=XjLDp8cUGRvX84+Q9aIS9dPGIChvC28mo14HZv80yTQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=tG+ACiJYm+TC+rP/eZwaXVKIqIzaNbYhX+JAeBWeVUhekTXUtlyNPp4IIwLStNTnnbvjkZoyDJOkFuSC7n6cbOPqrOSLHkTLksMtzCeqVyaE/mePt2wr4vohgyAJa8dMqUveP/1dn+nXlCRcn7hrh0DNx+/QWQSUaNSZFyhNP9Q= 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=Ttx4SwfG; arc=none smtp.client-ip=209.85.214.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="Ttx4SwfG" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-1f31eadc3a7so1351345ad.1 for ; Tue, 21 May 2024 18:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339755; x=1716944555; 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=THfAbUsdCLmnmf31zE9Pe2u6BNmh9uFbN2fzLklxkz4=; b=Ttx4SwfGpYtRUciUtJ77Ge/oZUkOiEnh0nbzrjoCNQSWj28wTIZoGlDtdGA1+VMaH4 szwEgTUpamUcS5qv6trSk/8AKtL/IelA0T/jV1n55zbyPjPpYM3miMQD8ZtNCdAD3CVf vHjlHT6K6ansLXHepO5KnVTzc7VfPcYa+n8fUDU1xWkioLpHqY23te8IHGUlPgrIK0MY ki8WonnyoeqEW606KnvyE+mv1dcgWUqSxwtFGC+cj5dMurlLEn2V8Rpunxm6COR02XRJ OJWB1wvRciGCbFMvncc343C1V9jUasf3nheprsJiG7u0MCzVODyDbawYYiFbihTzp+i6 Jh1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339755; x=1716944555; 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=THfAbUsdCLmnmf31zE9Pe2u6BNmh9uFbN2fzLklxkz4=; b=hsPaQ+B72zEvs+14mUwHFNXIc+onoZbNiYK4ZWRsZDECZiDvEMzU0kQ4zp6Rxf/YJe ikl8EvUzGTofsKNN83zs95XxSVPV3kb2XxqBQFvBgU43+Pkswo/qv7uoNLv4+1Y7nzHJ mITIoTUBObLmKcD6CWydnfKbRQ5tjSrKZJe0xLOMqVMmaYtd6bFnSBHH9hsCiIDddrqo u1YEZU1VsK3LxJayCcdzBxltSNDGw5pS1f2qJnV6uFKHvCINdrSAXZDW3Pao3y3yL/q6 ZNAsMhC7dVsO3zpY6btFHQkqJJOKBS0fUf8cmk5UKHlptC8xt3CXGJyXm/yGOXkXCUfg CPyQ== X-Forwarded-Encrypted: i=1; AJvYcCWFJlDTuoW9v57cnpu157c3sinyOjjNw487OfGSJFE+ljVgwSxPW1EXX/sa0N+UNFVeS2bmHEG+uOHAb/zd8PnMnCUKuVewzMPSSgVJcSVFhIPRkDHS X-Gm-Message-State: AOJu0YzhwD3XrQX7RurmfxqOU6yRUE74v4GA5v9K2ssHJFYqbltgcWX8 gB3S9l5lCIYZodXp9zX2fQPRIB3ljyfdB1lZe9BH02MSRiRy/AsKlw+lsYAHtPYXyNm7VkdioN9 QXg== X-Google-Smtp-Source: AGHT+IF2I2FWOecHFUCcN7nKq/bwhFKSfcaBbhOfbRL9O8f91+0Uq1k+MIvBsT42EkpQs0UJXpRvR7cMkog= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:f7cd:b0:1eb:829:b6e3 with SMTP id d9443c01a7336-1f31c9672a0mr175035ad.4.1716339755383; Tue, 21 May 2024 18:02:35 -0700 (PDT) Date: Wed, 22 May 2024 00:57:50 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-security-module@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-65-edliaw@google.com> Subject: [PATCH v5 64/68] selftests/user_events: 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/user_events/abi_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/user_events/abi_test.c b/tools/testing/selftests/user_events/abi_test.c index 7288a05136ba..a1f156dbbd56 100644 --- a/tools/testing/selftests/user_events/abi_test.c +++ b/tools/testing/selftests/user_events/abi_test.c @@ -4,8 +4,6 @@ * * Copyright (c) 2022 Beau Belgrave */ - -#define _GNU_SOURCE #include #include