Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp221167rdb; Thu, 30 Nov 2023 03:07:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqaXHY1ClJb3tLTDXg4zu6RJEKd+g7qrGnryGmoFwYdJFkA5jRCwpSlRbdDMfi1X+jIaHD X-Received: by 2002:a05:6a20:3943:b0:18c:f42d:43f1 with SMTP id r3-20020a056a20394300b0018cf42d43f1mr7724798pzg.20.1701342440802; Thu, 30 Nov 2023 03:07:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701342440; cv=none; d=google.com; s=arc-20160816; b=QVGxmz0CH8DlBBw5V0YCkiJCU2CFLJYnA46y7Gar2gsxtGGlMs6u54zX9/Dz33/8gv tVSoEZrvxO3zeYMAWvlmW6w2vIPn46Z+GWkDc1Fq1LQ1sg0SDlLJaLE14dAx7edP2n28 E8F9vIMwQgjxEWQWNhLo93E0HGnrkV6ltCvizmIuKbRJhnyHXnMS2AF2Y7LoXBFv6PZL JPPTMpAZ1nYo6zbwFYbeAQLGdJw11pP5MaqTQY1Oj5mCgfTJY0rrLWDYV9Gw9RHUBTdG amLOBmjAwsA4+L9lAl1xRpPsKM5tW/B+Pp+9VGRQAYlkWUWOhX9eEJcBr9swO+w+qUGT ultQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+VK0p3Vrg4Gg8051ZETfeUKQ1X0pr423KlXMEXlRIo0=; fh=gqxrroJaQ6FkA8jnsAsoxVgVXiy20uJHyLj5B4U/MQU=; b=SHAoH+Ns04BFYW3kc6sEuG9kO/Q4s2URmby72zWhSvph9IVdnwpiJHtLMcWQHeA3Vr y2aCLs64IXMpKS6QczhCW2T8OP7DKn2a2nitfSUQbysw+EwZubUTCyDIO/JyYTTlNCtN llW9Mk92h27f9RT5w5H/awLmTBdx3qEhKLvwbHM+ouPoneZ7g9J5vRLapKdSKI5SJndw hwSgI5x8cm8lblid65lnnvBncowzVetV0z62GszzrRurT0rnNrjLHBRszmrE/oQhmKC9 niPgdgg2fwhMrioBkOdEMmU8ykZKayklQ5SqhZvUVVjw2q8hdhk7qKvRZrJFUJddT00l RC3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anyfinetworks-com.20230601.gappssmtp.com header.s=20230601 header.b=Yy5Caf9y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id w13-20020a170902d3cd00b001cfb4caefa8si913482plb.644.2023.11.30.03.07.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 03:07:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@anyfinetworks-com.20230601.gappssmtp.com header.s=20230601 header.b=Yy5Caf9y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B630283B0099; Thu, 30 Nov 2023 03:07:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231881AbjK3LGy (ORCPT + 99 others); Thu, 30 Nov 2023 06:06:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231784AbjK3LGx (ORCPT ); Thu, 30 Nov 2023 06:06:53 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63FBB10CE for ; Thu, 30 Nov 2023 03:06:59 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-2839b418f7fso832402a91.2 for ; Thu, 30 Nov 2023 03:06:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anyfinetworks-com.20230601.gappssmtp.com; s=20230601; t=1701342419; x=1701947219; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+VK0p3Vrg4Gg8051ZETfeUKQ1X0pr423KlXMEXlRIo0=; b=Yy5Caf9yYmWIl0m8QuLvT9qJchaIADVeNjZCHGcdU7ctBUJyPL5IZZWy8ko9QHSsDl EqTCvEdCJdXV7JVsoIXslpFBugY7ObhtVqaZIiI5+ZzPDAcPGsXiIaKmNepQNRfZc9qX STFuDQPRXGIbcT4XR7zUoSE1fEmAvItjpuWbErKCPxwLQXC3aEO3kH5NYA3KKf5Gav2D pH3i5C6yfxMULIyAob54BWCAAu3OFRTLr1NH1Umxx2W50vOuvWd2T519eN3W+LC0nGkG GkH9c7+5xI9HdFgwuc8IWtjb/bRvvc1BbysI/o32uK0XGkA7xBPpMs5qaTm3YIMMPUXt XJ/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701342419; x=1701947219; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+VK0p3Vrg4Gg8051ZETfeUKQ1X0pr423KlXMEXlRIo0=; b=r2LzWitxniqN4xNcwo1fIaypnyYOEsdbELk+jXH3ASrogjHTN7DtopJISgEomC92/a PzPaffJqDPDYCptwaOYUMwG60TseeYqzW+ndhK4qLPZfO38HeMlzkj8TqjfogCBxmFA9 gakA0EOA8oBTE0xabHEJOwxQ0aXfDj6NC+i/GkvkHmjBZHCXwaaNvUH7SLf1To2Qb1+Z 7vzgLZtTsQrW4uMsCyx108JC2PkwQhbDekxqc33zkIkSrXfGsOgTSuZ5AtlT/Px1nNQ6 VAySR96LMdqBnJlXhImOn/3KDtjxZpR5vFASvmcJlK9kK/cwK6Yc6+18VHvXEQuH6gtX pWbQ== X-Gm-Message-State: AOJu0YztQ7T8WCNNwaaAAOadeIIs/8zVQ/TXyONLm2z6s3fub43Pfr10 /EezGDScVlHvYHj5w2aoLJ9Ro58WnN2CJ1u69UjV6A== X-Received: by 2002:a17:90b:38c7:b0:286:49bf:b215 with SMTP id nn7-20020a17090b38c700b0028649bfb215mr172414pjb.25.1701342418824; Thu, 30 Nov 2023 03:06:58 -0800 (PST) MIME-Version: 1.0 References: <20231130034018.2144963-1-yujie.liu@intel.com> In-Reply-To: <20231130034018.2144963-1-yujie.liu@intel.com> From: Johan Almbladh Date: Thu, 30 Nov 2023 12:06:47 +0100 Message-ID: Subject: Re: [PATCH] bpf/tests: Remove duplicate JSGT tests To: Yujie Liu Cc: Alexei Starovoitov , Daniel Borkmann , bpf@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 30 Nov 2023 03:07:16 -0800 (PST) On Thu, Nov 30, 2023 at 4:44=E2=80=AFAM Yujie Liu wro= te: > > It seems unnecessary that JSGT is tested twice (one before JSGE and one > after JSGE) since others are tested only once. Remove the duplicate JSGT > tests. Looks like a copy-paste typo on my side. Thanks! Acked-by: Johan Almbladh > > Fixes: 0bbaa02b4816 ("bpf/tests: Add tests to check source register zero-= extension") > Signed-off-by: Yujie Liu > --- > lib/test_bpf.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/lib/test_bpf.c b/lib/test_bpf.c > index 7916503e6a6a..87a4ebcc65be 100644 > --- a/lib/test_bpf.c > +++ b/lib/test_bpf.c > @@ -12215,7 +12215,6 @@ static struct bpf_test tests[] =3D { > BPF_JMP32_IMM_ZEXT(JLE), > BPF_JMP32_IMM_ZEXT(JSGT), > BPF_JMP32_IMM_ZEXT(JSGE), > - BPF_JMP32_IMM_ZEXT(JSGT), > BPF_JMP32_IMM_ZEXT(JSLT), > BPF_JMP32_IMM_ZEXT(JSLE), > #undef BPF_JMP2_IMM_ZEXT > @@ -12251,7 +12250,6 @@ static struct bpf_test tests[] =3D { > BPF_JMP32_REG_ZEXT(JLE), > BPF_JMP32_REG_ZEXT(JSGT), > BPF_JMP32_REG_ZEXT(JSGE), > - BPF_JMP32_REG_ZEXT(JSGT), > BPF_JMP32_REG_ZEXT(JSLT), > BPF_JMP32_REG_ZEXT(JSLE), > #undef BPF_JMP2_REG_ZEXT > -- > 2.34.1 >