From patchwork Fri May 10 00:06:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660518 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.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 BC89A80BEC for ; Fri, 10 May 2024 00:09:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299798; cv=none; b=An2rkLO+RbK34U51vdlCOeqwAHKdBdiVGEq1cQAdBnaMCa6uCeGDcczFyIEHNunyOcIrvNfcIKBxbjNXtKMgp3GH1jsj+fQYOGx3mb+hoKMAVxeTr0xnQnKNlCHShVlWqXHLEJ29QyuGFzVexGmPD+W7AaDOMYOKgO0CNeJwxQ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299798; c=relaxed/simple; bh=V5E1tGxcFwiW0subypybbxNT7JLINL25XN24Yfq1TaA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=T7vlSGVSlSpb170oCewcLQAPdIc2mAVlIGh6oVFOFmUgWlcgaSzyBYTVxtR8fSrNBu7n7eNvtjJ3cQPxuicT5O3SrcWLO6NmdXnsRyDpp4AX38Ti3sXKxZJ6+um/LMWxOQQa2+Dr5USCrhM7nRSXgFgJ+lqOY7wOctTWwSLyipY= 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=nbAZndvI; arc=none smtp.client-ip=209.85.214.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="nbAZndvI" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-1eec5aba2bdso12981075ad.0 for ; Thu, 09 May 2024 17:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299796; x=1715904596; 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=1J+0R5KvELlP/aPzu5FkXVeIoXQ70u+fel7H+7dT5J4=; b=nbAZndvIIkOSf2tLXqw14CLOybidung1WptYz5Mkp+wIPJ0WufJHynSFMZXE0a2UbU 6BWquCKC2gQDrxytumhxSvruuy/v8LwzmLE+olKikTnFSKAabOJtDceDQArEyuoMc9bL xHLj85ClQEpL4k/DKPMlGmXpRtnJadmW8Cgtboqe17jVXjsW/kdEzONZCAIRAkDBVmN/ LOZD6Vs/VIfTx+wPHrHJX3VRFPO5Lr+ukfDtiahvICE9Q8rw/WxsTeOlezFEj0CILMwT PU18tfna5Zk6fUsvXChKXCGq4PRU7jWW/zRns8oHsH4TlpVfWk5Dn91Itu9NrxYfRUEG yQ+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299796; x=1715904596; 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=1J+0R5KvELlP/aPzu5FkXVeIoXQ70u+fel7H+7dT5J4=; b=m/MK693JFjeDfH+JFQZonKL9KXwGqqv5mwcmYLmXR/KqwNHhLZhu1q6wbAPIe+9v8L OO56O/EJcJVw8I7zJA8PSDdKE3URQZG+AezUpcWCD4qBS0L7RTNQz+DwCAZzcPp/9Qrp tAppLuG2JTxW11pQ3tlw9DL4+upWOwMWS3mTpfW0LFfIsFoBlMmWwoXBALeS4FWOMLQb 07esp1qerPjUiIh4+Xgc5BYlGFf7QtlzmZ91ovT+EW0drmLuYAwhEX8a77xF4OvdaL4P ha3EVlrp/moWdzhxd//fSfhIbRx/8GqlyiUSqYlJ28OuzmQ4IsIz5ZisAu3nIYXDiiTF IYlg== X-Forwarded-Encrypted: i=1; AJvYcCUTi5eCoSN1X+tcNe4vv9wD+rSH4h7TklGjqjucnMh5zue4kTGhNHSDMf3wZ8aZCJlnBXLBdy06W6whraCDzqzx5vLF2n3ayu1YUy+eCyMX X-Gm-Message-State: AOJu0YzqjH146Wgp7bsjvQ1BMSlPSzCAbGe2XUMPgCrOkkgJrNOzHH+F Wi4EkEvT7WKPoK4DhZS38Szdg4UL1KYRAnzN10ncNJPd4NthNVtQkSIoJCvY4J+RD8hWyuUA4Pj xTQ== X-Google-Smtp-Source: AGHT+IExd15gsRZwvkH+bNW5BEjwyjUFQ6oCfGLx0KBF9mW/GpX2KB2/zfHBHHKo03HMcQ/Fo0GVALLRwzg= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:d4cd:b0:1e2:6b74:2bc6 with SMTP id d9443c01a7336-1ef433cef41mr38795ad.0.1715299796044; Thu, 09 May 2024 17:09:56 -0700 (PDT) Date: Fri, 10 May 2024 00:06:35 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-19-edliaw@google.com> Subject: [PATCH v4 18/66] 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