Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp161546lqm; Tue, 30 Apr 2024 16:51:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUSn/BxpNZmR8qcqC4LZhjMZ+8mOE4snoUGDyMTSQflBGuodFJapfynoYJGeXeUehKsofsXJ+Tm44VkLvtRhSBIL5dyryNWC16uzfQ09g== X-Google-Smtp-Source: AGHT+IFfhHdH2UCCRFxFWA+WwpCFSemWFZ67ZI0InTDYqX1ljdyvk2HRA9NcGy4gZQIVmZG/xyfl X-Received: by 2002:a05:622a:1214:b0:43b:aa3:2b41 with SMTP id y20-20020a05622a121400b0043b0aa32b41mr659375qtx.67.1714521101916; Tue, 30 Apr 2024 16:51:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714521101; cv=pass; d=google.com; s=arc-20160816; b=rNsaguFrvvyBJkmkD/F6hO/nS8hZtaaza9YP8tcXAZaIU7kUcVaSDiaVS9N5jJQq0f G/WX84pAUxvAPDb1mW/1F0mt5rsduWXf2NI4ZpmoVZRNu9DftQ3pMAciuHKSkdyGJQaA GWzinKcAhd+ueBYwQS8XGlAs9+oVE9sS3Yqt96LrBFWONKsQgQamB6zz9uFJIMtUoXFO 4v6F+D0EJZOfeHRTy/ZeGN2U2mCzaMZOl+ICD/VYWIQ39igwgwlYsh8GQnc5oZ2hb/ci CrCrtxTtDG5J4+vswI9wfS8JOzH8IhfxROBT0MBDHZCgpwWnvSyR3FpEtEvpGCcuxVJa oz8g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=YOEM0xvLtojrhcgEFvmPYdUJPLv6ivSzHSsLdLUXzrI=; fh=p47eO9dW7b/Jjg1BBE0IU+05drocatON/fenqmZBID0=; b=VQHTFM5yg4rO2cX9eG36ntP1mkFS2uHulxE01cnXu3RoCqiDT/aiL5vZNpg9iwJE4o 4hsfZPfMUDdZKtHnG9b3eTQvRJ7VlB1lRH5IcZ6vsRRi275w3stvsKRo9ZiA287olGPG BmTO6UzEwDZz1NoyiL4Y4UMSeqU0ZTDhYssKrOJ5ynhzX48u44yK0xznvjeX2PG0V+fg aOvhkIgQMP2UP6VEE5cK732WabkKjixJQ0kg0MLY5w3ByOC7rTdg5ZpzPPzb0LKc3VNN vhSheVZYufU9CoAHKA06yyGXnFZ6DePSKNBsI9lFi/hT1qi+wpvhi6RMPYjdNmlajz8c UU9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="MuiAn0/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-164809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z8-20020a05622a124800b00437b4804cefsi29890374qtx.173.2024.04.30.16.51.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 16:51:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="MuiAn0/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-164809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164809-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A081A1C21F94 for ; Tue, 30 Apr 2024 23:51:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8ED181C233E; Tue, 30 Apr 2024 23:51:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="MuiAn0/q" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.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 37E731C2303 for ; Tue, 30 Apr 2024 23:51:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714521075; cv=none; b=NiaNpTu1dgTTaNgL6FPHmgphPAls5nYbAXq4AFKRVuCpNJzq8eNIT7CdIQJhyR4aRbtqaplYWbF1N+7tnbUkrlu2CIJEO8Txsl2h8cv7FGbDv069QuzIAcdCtpKTBj8LM8Qt2XrO/09SoyE+RhSXwhN/e5Ol6Dl/EADV9iqpwcc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714521075; c=relaxed/simple; bh=/OcbhMlACXwRbL6eMCAvatfg5p5nh1NZCgFVS7GD4sU=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=hnn2EurES4zrZNkc+m3XS2+mwvKbRWrLBQEoarhLXB7Upv4+Lt+XqTLO11NjKR2Lc3nmXGtMsG2TgxZxcY6z17wrtFNSsJ9CqRK9WBhHIsTaip45cLCwYV8q4B87RWQS1G17pK/0GyTEC/ozULAXqQrtbV1awWPtLEoz5tlyCy8= 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=MuiAn0/q; arc=none smtp.client-ip=209.85.128.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-yw1-f202.google.com with SMTP id 00721157ae682-61bef0accddso19408037b3.0 for ; Tue, 30 Apr 2024 16:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1714521073; x=1715125873; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=YOEM0xvLtojrhcgEFvmPYdUJPLv6ivSzHSsLdLUXzrI=; b=MuiAn0/qsBtu3KzYeWQ6rO0SKehAfnui30iwYKoNWfpt5LKwPXeceP3tXZ1Dh36CJV +HJ3D6AyRPPquGH7WVhc8jLK+6E+W8V34lcQMUZyEgfYiyXXNn8amasvLx5zxjRnqhip hPA8KsZMNuJhheC0i2LP8KB1c2KhlgxRB5KJjAmbz6Yjr4sCQbG+UuCfX5e0wzVjWhvV 0+c8jtWHRxIYxPza8yXL8alsS1dyRAdqVExY5PL4V3HUlN/k5rSETrWWylh2NfA5uitp PWi8OJO/T4GyWtiamrxFEQS2NdLMj3maWYe9Rt5muEw3LUfB5hmOpIrRVeBBkZsGyN2i 7/2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714521073; x=1715125873; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YOEM0xvLtojrhcgEFvmPYdUJPLv6ivSzHSsLdLUXzrI=; b=gUdSMwQxizO6LzqKCOlewdnk4PdIdjSoTjepZe2NF4PdGHjYd2AJRZRTVNJQcyEeVj uCiSJKemDAUJBtLmYzjlcfawm0KLpMNYwFkQFGPyRVKpyOqGwN5mPlywcXVZyeArGbOu Jtm/1l8rBeGq4raOsPkrCVv1CuutoX+Bn052FxPIxd0idk2UEgBCGf9x048iBl4KU2uY qXLGYKnPterUg4fVfCCAbP+jm3cuubVgooitaCGAu3pu3bekWjujd/nuIWd0O+fuWilN WRL3NRsPTlWRidJaANHtONEy7XvjFxUz2DSSDxzoocmxoK58kKmgaAX1uoyZex2H6wip tPXg== X-Gm-Message-State: AOJu0YzQiyVALMBub/1xyn6DTC8Idqf2QhY0Wvj5gRww0E74oFxmZPd8 1NX2ofaRURnF2PCZ0YWrHUwGqD7q6zcOStFoE5tvcLD+8MhbLcL/DEQyVsPn6LrmCc96ZOe2a2I r4w== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a0d:d614:0:b0:61c:89a4:dd5f with SMTP id y20-20020a0dd614000000b0061c89a4dd5fmr271833ywd.0.1714521073133; Tue, 30 Apr 2024 16:51:13 -0700 (PDT) Date: Tue, 30 Apr 2024 23:50:09 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.45.0.rc0.197.gbae5840b3b-goog Message-ID: <20240430235057.1351993-1-edliaw@google.com> Subject: [PATCH v1 00/10] Define _GNU_SOURCE for sources using From: Edward Liaw To: shuah@kernel.org, Mark Brown , Jaroslav Kysela , Takashi Iwai , Jiri Kosina , Benjamin Tissoires , Sean Christopherson , Paolo Bonzini , Bongsu Jeon , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexandre Belloni , Jarkko Sakkinen , Dave Hansen , Edward Liaw , Andrew Morton , Muhammad Usama Anjum Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, linux-sound@vger.kernel.org, linux-input@vger.kernel.org, kvm@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, linux-sgx@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced asprintf into kselftest_harness.h, which is a GNU extension and needs _GNU_SOURCE to either be defined prior to including headers or with the -D_GNU_SOURCE flag passed to the compiler. Edward Liaw (10): selftests/sgx: Compile with -D_GNU_SOURCE selftests/alsa: Compile with -D_GNU_SOURCE selftests/hid: Compile with -D_GNU_SOURCE selftests/kvm: Define _GNU_SOURCE selftests/nci: Compile with -D_GNU_SOURCE selftests/net: Define _GNU_SOURCE selftests/prctl: Compile with -D_GNU_SOURCE selftests/rtc: Compile with -D_GNU_SOURCE selftests/tdx: Compile with -D_GNU_SOURCE selftests/user_events: Compiled with -D_GNU_SOURCE tools/testing/selftests/alsa/Makefile | 1 + tools/testing/selftests/hid/Makefile | 2 +- tools/testing/selftests/kvm/x86_64/fix_hypercall_test.c | 2 ++ tools/testing/selftests/nci/Makefile | 2 +- tools/testing/selftests/net/bind_wildcard.c | 1 + tools/testing/selftests/net/ip_local_port_range.c | 1 + tools/testing/selftests/net/reuseaddr_ports_exhausted.c | 2 ++ tools/testing/selftests/prctl/Makefile | 1 + tools/testing/selftests/rtc/Makefile | 2 +- tools/testing/selftests/sgx/Makefile | 2 +- tools/testing/selftests/sgx/sigstruct.c | 2 -- tools/testing/selftests/tdx/Makefile | 2 +- tools/testing/selftests/user_events/Makefile | 2 +- tools/testing/selftests/user_events/abi_test.c | 1 - 14 files changed, 14 insertions(+), 9 deletions(-) -- 2.45.0.rc0.197.gbae5840b3b-goog