Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp83159lqo; Thu, 9 May 2024 13:21:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmqVKcghwcCjmJbQPnTTN4ZBsG9ANEQDfepSAnZUkvd95fC3ZTzm4EuDi80a/a4gQEeHQDwz+1VpHRSz/RU91o7MZk/4H2GpmZRql7jA== X-Google-Smtp-Source: AGHT+IHZCDzb/uagl49Vd6utxPmcD5NOia9HQZCArQXFYa9Li4CLoHjJQGrhfoKaOY1ahXJ5xJ+f X-Received: by 2002:a17:90a:5502:b0:2b2:1919:dda3 with SMTP id 98e67ed59e1d1-2b6cc44f934mr525557a91.12.1715286081832; Thu, 09 May 2024 13:21:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286081; cv=pass; d=google.com; s=arc-20160816; b=MPttlDRwn6c/dpLqLw7zWMwGZlYSiQvbzTtK5xMZPwAz+t+i5yVD5iDuLxzqfF79VD guMKoSZ6n8o90S1kzneSOM7a3gjwEF3spGWC8jS01EnTfiwmObWzwbcyYS+odrR7roIP fsuuxu0ZvrUWfzUNgq+UGTI77+GZlUMX49kmu4TdYghtDbwBtcCcnx19k0QosaWiFN54 qMZ582ynXEEMKLPcylDs0jbt5eD2NhyZxyfHlCvtwyBx+h+9u5fKrW57eZ9K53sDHF3x ynvr19x8gkks3cHGKD4m+xaLO7ey9OqSwAD8bSZZaNSKmJg2vE1MjxfqkHzuXubPq1Vm AnzA== 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=bCAetgsy5/zofnz+8UMPVpCBKs2hhXfKubjl6/AwDCQ=; fh=E2C3IpfCCXCyX4tamG8jMGXWVfLGSDBer0e9diy+sQs=; b=ceyLAe5rBdQlS2n62eZ9+UbWtRFcUO5ip3VpOZHS8sM1DDMCWfwUWDl3LovT3kpUvO 5EWuDWrFPjSfqJDhX7Nxogg7Vl8jHZcesJZJ6k/qv5b6zYSQNzlgQa6C/5dT/YROMkLr W0uaU8ctnBG4Ch5aW9wJPfY0n9jv7pOTIaAu+USj79Raob1npc8QonlvM+ZC81Umyly5 FGWlo525q4H6UjXqO0JAuBjVT9jK5K2bhlvkJvfiNhDrVFvOsWfmrvqVKutueJIzQ8YE pyaZKqan3tAdtNNWS0cGY7tLrkIC3y3/OzmlZ151B/QrxU4Isztz/Ymbsf1XYKXB6t1e 7fTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=NGRt5TXs; 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-174873-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174873-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b6288655ebsi4047406a91.16.2024.05.09.13.21.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:21:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174873-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=NGRt5TXs; 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-174873-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174873-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EB01B28668E for ; Thu, 9 May 2024 20:10:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B49E13A885; Thu, 9 May 2024 20:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="NGRt5TXs" 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 7EB72139D1E for ; Thu, 9 May 2024 20:02:00 +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=1715284923; cv=none; b=Ea35gGzd1uRIaZfO2dsNNyvjzMdt5Z1j2WssZXGCNdxgnwvakWW2Wz+8IBlWKFPiIIa2ZyNt3lqJ//gg0QuH8P6weP6TNxp6d7O9RO9uDuP+3Xg3SSINfk8mFRHl3mBBJX/dIZuHd3THKQ2wUxI3CQBGKvcOHJhmXPNBHcvumuU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284923; c=relaxed/simple; bh=WwN/b+0vohFwK2+oIb27RDmv4LoFS5SqplTVNpxiiFI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=jjNFjtEqodP5OwlB8gtRgqYy4sCY5W1GKa0F40p46x+7p1vnTODw6Mx9fLKGcYhHni374BDpgqXn+LslLOLFk5UjeJ2qEHm3yf1hGXXb3sU/ZNkHBhX9kzEBPOQ0b4dWhyu4Tpqz+BZJTy4BY42miT6vyqHXkXFTCMssiWt6CS4= 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=NGRt5TXs; 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-61be25000a4so21363477b3.2 for ; Thu, 09 May 2024 13:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284919; x=1715889719; 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=bCAetgsy5/zofnz+8UMPVpCBKs2hhXfKubjl6/AwDCQ=; b=NGRt5TXshpVeXcX5sECsyA0C4hekfFpgdjPNRoq2ETsP3UL8uWirnJBvjNjbFZl+nG nlzssz7ymvF0NqcTOXvGMiQp6HqMKckg27BrWUBCNwfAOxAWlsEakin75jFCJEr+8xBb N1wfK4r6B0Sc6L0H5zna7wfCXCv38gPQIhyQ9zGN3Vn223HsqSfeaW1OSrciX0IC5okh 1Z/lsoy4jLbtrxXmJXuHIgdef1LmyRq9+ONCro0EqqTUJiwOMnforAUELByut1kP1rMr bBSVyRZJEyWyzEQktaWTFAlhrRTqQ0xuk3f1NJ63S9md8hi/BxupTeO6TA94ZW1UC7Rc UHmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284919; x=1715889719; 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=bCAetgsy5/zofnz+8UMPVpCBKs2hhXfKubjl6/AwDCQ=; b=pTeWTKyRyiH+DZDsodp7DF5tyXEux2w5cb8uO/Ld4DTb20MUmOhMD5k8lPO/7Y8ZyY 0PtsMJZY16WtL6XgeNI3nJfgw4l+1nwwaktmcJYaBvEGYPLomQOsKRohFcNlmmtbB95f /r9Ofc5/42FJwZunXQlyWtGN9KIEhmSoyeeHtW2kkEKW1JZGv7EH5sVm1cXAuoaZiWl6 mjglAvYusQtJO9XqD7binBSyV3F+Ph1Fv6meEotNzpLAHtCU1ob5X7juperYPq6fjAoj XO1IAt9UekU7cQu37BiiN/8dl0zcBq0O3P6+YWyx8rimuWO94bAZHi8pPZsXQ4il3RJ6 ZgvQ== X-Gm-Message-State: AOJu0YyhjlTuWMzaSE3R8eZvlB6nYBTIyk/oQWQ2meeT2/y0iFr6arv3 sCK4msSE8R5xO2n9PJpcOdALf6Yi9OEQ3DPDOW3gge0/cYvNXZlI3i3F4CFOQTG0I2/066KY6nW +qw== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:690c:6f8c:b0:61b:ea12:d0b with SMTP id 00721157ae682-622aff85f0cmr1704757b3.2.1715284919580; Thu, 09 May 2024 13:01:59 -0700 (PDT) Date: Thu, 9 May 2024 19:58:18 +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-27-edliaw@google.com> Subject: [PATCH v3 26/68] selftests/kcmp: 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 , Andrew Morton , Muhammad Usama Anjum , 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, John Hubbard 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") Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/kcmp/kcmp_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/kcmp/kcmp_test.c b/tools/testing/selftests/kcmp/kcmp_test.c index d7a8e321bb16..f0e356139e1f 100644 --- a/tools/testing/selftests/kcmp/kcmp_test.c +++ b/tools/testing/selftests/kcmp/kcmp_test.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE - #include #include #include -- 2.45.0.118.g7fe29c98d7-goog