From patchwork Wed May 22 00:57:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 798310 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 55E3118C3D for ; Wed, 22 May 2024 01:00:26 +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=1716339627; cv=none; b=A30jYRCG2iOr1JYxqfy6xsg40eK8BS4zIN4Fd+WHTNwqwHoSsAhsfNBJRkFqdkyXNnC1RSLX1tKH0vpCAG/IOe6lbOf7TvJsRx8ALCvlVaTqOkt+7tgHLEJXvuMZ5ksXl8Sb2kf7+R4VWTYxWx9Je98AgtMCS70HGEg+MgCeckA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339627; c=relaxed/simple; bh=9Nq6i/uWQL9xoyolHVYicrLpfbCuPU1Pwql11yMTJfI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=RIc1VFxaRiPy/TdQuE0NEfaf/zWJeowf5lXMh81g0mqdiJiYWOrs51+YOVJtYm57izHRYAzQ6rjGVj1jReSrj0H1F0hVaP6+A6rw65+XAKh1yTjSTEhKQNvI8p4GNzfagzgqCaWa4aExlfQNrn6WTzq2fUFeZN54d3pAGVHhRbM= 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=Ai0w0YU0; 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="Ai0w0YU0" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-5e4df21f22dso299218a12.0 for ; Tue, 21 May 2024 18:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339626; x=1716944426; 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=ICjb8r/0X2VlW3crKp/bODhAG5H3VpO5yUTD4XwYdkM=; b=Ai0w0YU0mnyUczrAb7KcbsSWujAgaVUwupENoXVEaDg9PVPJRiqAVmc6woJe9/MMdh Ij52O3f7PbJiEcOzHWRZXM9G023l7dJZkK1RgwIhZgTEH4Ysn81IFfNMDeaOE7B+32f9 FrPBlyNqHl+wVd/bikxxUIfisuYYzzY47kE1wpgjFA6Zm9q8SdXpATUrZjuFDgu0hDoW nfjn3ObYePCkbj64MRDyEDq29hXjHT9AJcdpaUFN5+jOHmKRnaecuYeT3FoY1kQry1iX jZWlxlac1ClsQYIN/75IRQS6V7ONRszxjKZVDS7Ns8ksfTuHd4/JHmv6BEHRmBmLI7ea K02w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339626; x=1716944426; 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=ICjb8r/0X2VlW3crKp/bODhAG5H3VpO5yUTD4XwYdkM=; b=nbWSU1CVMeIjCBXj/XnNss/pYN5QLUFWNApu5hfetaw+G2qTg0cpmtqiwinzG1xRwY 7PDAb9weWpTcIqoNLIrAIlov8PxgwXKWNLp4qk7w0pauyi1s48ITXagUoKVstUBslfCB 4MYxlG66t1RgrKuiU1UjucXl9ZUpx2TZeDusn/cR/pru9SC+lkBGdm1X/7/+V1p30wpe LypgRVnX+aoqIqTACgNXCyKbCoPDC66eohA4oLUm8S0OCCdz9uwPfZJ6NJBa1V/I9sTB y9xxyd7lmwYwKM8tNVOeGdH4SY48skTaHWcfyOWU+nEwWdEfpwV47+ccLDBumhQhHBkJ wUxg== X-Forwarded-Encrypted: i=1; AJvYcCWHKZvoM4xSp2OmHMpC9GDfdo+n+reH7fCTi+saY5heArkJa5pjE/wBBVa+//hhidxrqOWbgAMctC8WiwCELr3JtXu5ifyz+YtmtiQhCEE9 X-Gm-Message-State: AOJu0YyLXIj1c4BUZuRcxYfH9BXoz0xQpvqVx8a5OwP/C+2RgkvtRv7P 04rZkzboGcMtBHgOpI0Ve+eALU0o3khO6A94padW0r2/oy/yWHppG8IK0x22CU5qwM7pVtaU/2h 8PA== X-Google-Smtp-Source: AGHT+IFVVN1hN+8KBf9/+c7BLP6SPEGkbks7vo1HQExRs2GPHR6ceK4qQ3u4PxzKSc59nuvr03+npLjv5V0= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a02:491:b0:5f4:246c:1406 with SMTP id 41be03b00d2f7-66457fb8639mr36373a12.3.1716339625682; Tue, 21 May 2024 18:00:25 -0700 (PDT) Date: Wed, 22 May 2024 00:57:05 +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-20-edliaw@google.com> Subject: [PATCH v5 19/68] selftests/fpu: 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 _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/fpu/test_fpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/fpu/test_fpu.c b/tools/testing/selftests/fpu/test_fpu.c index 200238522a9d..53a7fef839e7 100644 --- a/tools/testing/selftests/fpu/test_fpu.c +++ b/tools/testing/selftests/fpu/test_fpu.c @@ -4,8 +4,6 @@ * module to perform floating point operations in the kernel. The control * register value should be independent between kernel and user mode. */ - -#define _GNU_SOURCE #include #include #include