From patchwork Thu May 9 19:58:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 795903 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 121F613699A for ; Thu, 9 May 2024 20:01:46 +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=1715284907; cv=none; b=I4k4HN+7qg8NbL6yL6egWa2TCFNxZyI6xFb7zvt5V/Ve9Ibqfm85kmRjR7PAEaV5OS6gD0pa0RorkpKhPAs6O+WPSxKZ+LgrGvZALJ32yvo8kgMZhE1vh69JQjg03RBxPHRWn+00cKdyPUBuCkPMRPFLaasSHie/apBaEUCB9bY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284907; c=relaxed/simple; bh=MaP11PegkI2fiYFPrpE6ug+ZUn5gyTFRDKXD73OrLtQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=DxEQ2+eeQLhMr9PiBZ571b1BECELIofiAGrdtzZLJDdwabYn51QXA8mQYzownh8MU0caJaVyTM3+bm8FZtUcXXtr0NvieKOPop5VGOut82NJS0s3sXeoQd4UqLIwM7O+XCamu0NGyrQr0gC7TsEnX9UoibDAn8TYTcnUvP2PsjQ= 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=kMtGw3mW; 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="kMtGw3mW" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-1edf507b9e4so12722275ad.1 for ; Thu, 09 May 2024 13:01:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284905; x=1715889705; 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=c7i8j1MXR4Q++mSB9x/D+2tDt3WYqeMVgfSlh13oZDs=; b=kMtGw3mW/Xn55Yjf4GwcY90bzMRN4xE34LUW2BBtilk+uU4zWdrU9duG4FQ4AiEy61 SYYbIh+0bt8Yet87liOF3ZAEtgcl2yE/v9JW0OkrMDeUCBORwtnfosxv48vSRXRWpIN4 D9b6DrJM5t3tsjxy2rBndA5jUdOQbEQ0jhXuoXrx2U59EeTZPq3bRSy2gYDl1M6OAibY J7Pmd6xppCTglcqgXT05Bdfv2rpzPPBLfNz5IGPEqbMmqcBFfsVug/UdPE4Nq8GsJdVl f+WVT0IPSLyibeVP+HrjXEcSb0ET8Gh10Oz5nkU2YyslJcvbWTRYz97iQFNf9v+XdItZ 53zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284905; x=1715889705; 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=c7i8j1MXR4Q++mSB9x/D+2tDt3WYqeMVgfSlh13oZDs=; b=XiO4Sh88a+2OaHSgVo8TtbqeY/gYyr8TE88hHJnpZxVD+ywVsygZUwN+VS6vnXm561 9vNSGLSpNJXDVvV7QT3CwOXnAuX0zQvSV3qvhDzbkcSwXs3L5i9UU0wjn8yq/EQgtGOx MO7Lsgch6rTLxahtF5E2ETr0MCU4DrRi5DsIsqS2ySlm5NSCJ9s6xKeIA9kwrbAFHXUp wG0NdgHMhVzuj0Q5nfnx8nysgcxUSG02yf2jn/lEDf/C+4EjsTL1LFgcVH5gWhOgRjjH WuCmz0MOWLXNyjl+KXyvvWwFDgvd6I2KvMf5OdOzVLb2onXysAmpucLBK06+R7A+pcqQ HTmg== X-Forwarded-Encrypted: i=1; AJvYcCXC1GmFDV5wUMdM/OrlpFiGGa9fwM5kCWIi0WQEKL+8hwtowvxZ49MiqvbS84zwcylNa6YL9ADI38JUR8wwuRHtDGPd//IuCon+7swDes7h X-Gm-Message-State: AOJu0Yw9+qFy9L9VlbDpjUtJhcOk5blemkDnKKTug4CGtGaK/QrM6KCd Bksz7iv9Y/tKdKN6i8w3qJPUkoQvWDai3UJgQ3LpkR/jj4XjFWGhGBTfi8RPaK1bJWGUxkBYliQ qTw== X-Google-Smtp-Source: AGHT+IGcE37oFpFHu0r060mrxur25fNVzNH8gnu7DuNW1Ui+yVAdSFNdy04KrcqG/HBH3zmLWEsGkp/XAfc= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:c40d:b0:1eb:4c47:3457 with SMTP id d9443c01a7336-1ef43c0ffeemr21035ad.1.1715284904004; Thu, 09 May 2024 13:01:44 -0700 (PDT) Date: Thu, 9 May 2024 19:58:12 +0000 In-Reply-To: <20240509200022.253089-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: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-21-edliaw@google.com> Subject: [PATCH v3 20/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 , Muhammad Usama Anjum , Andrew Morton , Edward Liaw Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, 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. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") 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