From patchwork Thu May 9 19:58:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660126 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.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 8C73513A240 for ; Thu, 9 May 2024 20:02:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284922; cv=none; b=T/j0lcT5N5Dwom6JS+VrqBj+nIlz1caeFiDnpLMG5yrQBg+wea/bQqpDXDcPan1EIhFyVhOhwOTM2MYDgc+ia+Ckb/Gtxi7nML9cJICXGfzEb12ZEFHYhJxtHbJ+nOqMCfWkbkw8K4wOGbeyGOaiT5wolG80lpaUtdGKgnDcYZ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284922; 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=rgreH8pkJ09vfevcwEpkclNnrTVmgq8p6Knrka0yzCFv4ztRxH0+QFsHdXrkd5PMRbfcSpn0SN7w+KFJ4axVMU0WwQNn7x40uUL3Epy5zBC8H2VHMnM4XHmsqotdp3pRpuBUAPN23jAYZIgqdyZDz6TggTWi+OdvY95H39cdO/w= 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.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="NGRt5TXs" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-61bed763956so22054817b3.3 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=KqfjM9a9bHat9NNDr+sxnQFORKdxSq+pxk0FqYakf6wkQa6VUVPkTLi2/JE5XRJ4R9 TCj++njwO6NPoTS1IazaR6KM9LXCcvzBX3wv74PhCV3uPW/1ohZULTBGzBpDsJE/08Uk e/EaGbHGm7vls+60OOZ/+UIkYvaZkAyKncnTO8cXjcMmEomk84GyKeO11evoBC7hq9eB H2C9lesl5lkTwVuZa9Omo/H0qjgVxeBsJjZNsqVOg+WYRXM25a3gWRwXLlCP5daztj1f Et0yW2nrR6iT/0HqEUaeglnRx/AIVOPrJpV6NEEt3MKstXIYz37WUcszW5PZ8FRj9GQw NNnA== X-Forwarded-Encrypted: i=1; AJvYcCU0Vgtp0h2FhSMVZyXE/+G+TyEW+3iKQ2CfSHxJhKGol0oCJxAaQSgJYzSHmGC0cWf/QmN5ZoUesnUGBRd6UHoZKhEP7wf37ZCreLMth/IO X-Gm-Message-State: AOJu0YyVJbvMIrKvTky34eocGJo2xcU//C++bskZiupvq0wTUMk5Pokx llmIVGfTGiP5a4AVvjYS7HWZPFjsj23xV9IAkrmh/JJvkc/fdTzkjI7cLs3My+D/oE83DqT1Rqo O3A== X-Google-Smtp-Source: AGHT+IEOccdP8zaf02kaUFiSefNhqGNYrWb2znEKmAbmEDy9741vUefYHtBjwkO9wTStl7g5XBDfQZrMi8A= 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-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-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_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 , 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 _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