Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp84454lqo; Thu, 9 May 2024 13:24:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXs6WFzef3roYv1jGVw/T2A1vwPOlYn67l3OtfO/HhZb4uqb1xj9opKybvARCI7K9kSoseUjCEttQCAImXYPPddPkgm/fQLds0mMKl5YQ== X-Google-Smtp-Source: AGHT+IHR+yIZKMfaUmtO9eYbwQqmpgsaAIDJcXeL/FspKbwqtCdid6jkAgy1BZdxMuP71kJkApmP X-Received: by 2002:a05:620a:89c:b0:792:93cf:2813 with SMTP id af79cd13be357-792c759704fmr58124885a.17.1715286240077; Thu, 09 May 2024 13:24:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286240; cv=pass; d=google.com; s=arc-20160816; b=o/4v7+HegCwo0BcwCEL7bGr8/fuJXwQAbQvANs0QAvOwzwzGE3cO8T68PCSBFYWlwD /A+jijn7fLlcThNYCgxb/lYeW8QL8e4Hp8EsfkBj0uPfWCaKYWs0Mq77TKC4UhYQ2Rfj i4l1LrMg90tda79q5E+qm9CpCyYY6zIa68lAN/rEfg5OBt3wR7no4/tnkS+frW3dJkfn e+mKiogMEFoYV8vns6Lbpmf1lBQJKVxKeiCbbECzSPoyOh3XEBS+gve/GNwpz6vtlLl+ aAk7mcCneFOHTl4Uv1IrUE4OP/oFQLS4dultUdkM7bq5N6akWt+m4YuJ3Tw/GNg1UBdP lFSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=cBjkXNzK2r5lGJvUOfu3vMHyc5JfgO83lVLsEeYmChI=; fh=I8v/LepoJoSaZLiLlu5+QT34X5kQKnr8VZEuqNoCvq8=; b=pWdjHAosfSyPmSukt+J7fy8fHUbG91glUruwITyn+idVuQo5UHu2818VpcHB1EumG5 jsmpIMQHJVUbA5IdS8b9uq1R8bTvGnXB5fZKJulhgM5fNKzZRK3hKI2dB6S7dEEpZOGE dWHO5WsYXSqdYyIbSg5wQh+2JdQRWodda5NLtlRtcFc14Xv0HvEomxJ84+9VcM0M01AT x/c6qChhtZbGK7IbdrITTbszN+YpBINKGGHFRy6zB9vPKl3gY3xniZL2LbKLZLX7Wvwg z0r9rmE1dJRhAMTbl2quBCJJh0evctMkUnvP5J3Uo+qfwk5Kn/9KQwZAEIbyNLPIy4+H awXg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=eCn3Vs9E; 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-174908-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174908-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 af79cd13be357-792bf30ad35si226184485a.335.2024.05.09.13.23.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:24:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174908-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=eCn3Vs9E; 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-174908-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174908-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 73D691C23750 for ; Thu, 9 May 2024 20:23:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9132C146A73; Thu, 9 May 2024 20:03:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="eCn3Vs9E" Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.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 3D64A146A62 for ; Thu, 9 May 2024 20:03:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285025; cv=none; b=GsWTJsiztAWfDSiS42Veys4qN0aWLrmKtP/3U1FZWTXvKIEcVWY4pljsPDJqOMObofo6019+A2fGJ+Rkc6q+7kXdvbsRltDf/dHDDEGZgxYPzJQAvgmSbGvqauxzPgAUv9oCnVF7sm+Q2VR6k+iWch4DQDM5TCsWLpO35Kg+OJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285025; c=relaxed/simple; bh=8WAV55RFZFHdUQBb7CMCCAzXoHxBizUl8h5SsYxKlRE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=REGFgh//qvIcXl2l3PVeVcXENyL3MYOKj3g+TppSOMJxwzowSL6XmpZ1PJudQV5HONKdLyq1CVN1eaY50JwWT42osBcfNK1NOr/VfvEnnfSrcbdKh3AYgR9TgXWt7DdRDj7UioLifNh3WcV4qMF4vuUwDgQnzqtH3DhBL6tAX2k= 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=eCn3Vs9E; arc=none smtp.client-ip=209.85.210.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 Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-6f454878591so836333b3a.0 for ; Thu, 09 May 2024 13:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285023; x=1715889823; 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=cBjkXNzK2r5lGJvUOfu3vMHyc5JfgO83lVLsEeYmChI=; b=eCn3Vs9EcF7qvCD6FSaFA6vYWDD0VBTaZwUwDp4AbYHaVILh5icLp4DbXI7T/AZz46 xnDD568mGFamBHoaVFC3EeKI9cO4NT/87bheVeOHpIcIGSjBuaLzfh7k/WTjLMKQSZ78 t2a6Lm7rimFVXQ1eaGbdgFCJz681UbPPbwkhEuqWght3+sSaT1oB33gHfvGYKm4rqMvP cjUNN0xe0NfcgWo2cuDp6TcZ2A3J1pziFXnqoQ0T6jfeQp9HTlsb3db7tdj4ZrrXamnl 8dk2nPF0RVdYzPHT5eWmENBEaHvJ7H529tShmyDJB8gljo6orFc4ga6PUt4j4HpF1h67 nZ4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285023; x=1715889823; 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=cBjkXNzK2r5lGJvUOfu3vMHyc5JfgO83lVLsEeYmChI=; b=eCmPOq/Y242OlrQLHYbh+fL2empETTMlQiCO+y5kwKzRS1BFi4ELPdWvldOO+mioVF gB25QTEWKhH0I6zI7BPzw0H/EDapz/95CpggaoxlL+omkIjLtcjaAaz4+lhbLmkIC88L Ibfc+oOzPjgEF3pvX14u8r1yRITzrUwKvXTWsB1AVxtNgg6lkQNy9mkIB3sX5egdjkfP ZD6Cltg7xOIsUp4WdwLUiqBshlKd/eSqJEQcGeTBJIGeswK3hyhqKQafuMEDTS9zzMKX FeBOldOYaDHK4DmhJ/DLm/www+rfydJUxY8L913Nq6V+bs+M1OsXvAeAgNUk2qkgPEnp ZPjQ== X-Gm-Message-State: AOJu0YzAClr7JbkfUnkPtcrpTWjCOe1ZoUDIR9UxPrslzLRernDO2wM2 5AynrMqJb/S9grpvbEiBhm/Y6eic4h6kXuvhHArRVZA8lVEBCHlydigxQy83DTFdkDFqPv+B59I cGA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:a17:b0:6ec:ceb4:d9e2 with SMTP id d2e1a72fcca58-6f4e01b9126mr37287b3a.0.1715285023604; Thu, 09 May 2024 13:03:43 -0700 (PDT) Date: Thu, 9 May 2024 19:58:53 +0000 In-Reply-To: <20240509200022.253089-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@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-62-edliaw@google.com> Subject: [PATCH v3 61/68] selftests/thermal: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, "=?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?=" , "=?UTF-8?q?G=C3=BCnther=20Noack?=" , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Edward Liaw , Muhammad Usama Anjum , Andrew Morton 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 Content-Type: text/plain; charset="UTF-8" _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 --- .../selftests/thermal/intel/power_floor/power_floor_test.c | 3 --- .../selftests/thermal/intel/workload_hint/workload_hint_test.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/tools/testing/selftests/thermal/intel/power_floor/power_floor_test.c b/tools/testing/selftests/thermal/intel/power_floor/power_floor_test.c index 0326b39a11b9..ce98ab045ae9 100644 --- a/tools/testing/selftests/thermal/intel/power_floor/power_floor_test.c +++ b/tools/testing/selftests/thermal/intel/power_floor/power_floor_test.c @@ -1,7 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 - -#define _GNU_SOURCE - #include #include #include diff --git a/tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c b/tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c index 217c3a641c53..5153d42754d6 100644 --- a/tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c +++ b/tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c @@ -1,7 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 - -#define _GNU_SOURCE - #include #include #include -- 2.45.0.118.g7fe29c98d7-goog