Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1695985pxb; Thu, 16 Sep 2021 13:13:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU7swKLUn6gtogUhht9aVYar/RASIRezT6la0lQZechYkgk4rE9HaNFSfQqWTY00Vjwfy+ X-Received: by 2002:a17:906:3809:: with SMTP id v9mr8193917ejc.355.1631823196489; Thu, 16 Sep 2021 13:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631823196; cv=none; d=google.com; s=arc-20160816; b=UtSlOhVYIuZzvfsoqvIbP0LNMTSy0X6rgydgJ7sUsjg/uaNAqryb4Q7qRu9R+zL1Pc bpvySqHdv0S/uuRqqXr2FeBZE0pMMsdY2fNHeGsNmGdNxjEsXJtdCGhaindHDhCTLW/l WbngPm/p5prUHEi9DokJd6hhqGpdQvMrd/6xGpx62FlPwiCgkRH81i8JZ+UCZZOrhj/y LqvFEEUtgTFsRL+RsUFJsIZa/YynPhfswdYvIleiexCwfHfa9j173dBttJJsVKOFK9xI 3aIg7ms3ewAfh2tuJj0aFPiKG640+V4rd7QIqBGOT69ZYWkHeCn5eQgcXLRT78U8U78U v5XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=N8e9h4Z4xlXnziPltwFxAz8gXMXpByn66yQu4lRr8b8=; b=d16wTK9fQQcrDKVPhFb6K2TaUalPoTrkbGtcIN2PIQ6e3ATkESKysM0wFredr7l4MG SOKfZi1XS/m0GN1ONwRDQ9Lemf8fFr/lGn0R+0MSbL/7MCQHLfguPdbdjADCw7BqB9Kh 8KvGKL6xQM1DueX+Bh3mz+QVXGcGO7Lc77W5AMpS3zKRqNoQ3t0f81aXi0EEvJivce8S 5nyszcySMSV07lHb+O6+raDUh2Lu9xqO4ElEMrMkEaoYD0bzxuuFYqWhnDJSZ6fTYeHP KW613mPkmVMgQiO91o7/g8zIOW3zqRPoHXqFeeVRvkT/RWANdfFr0wrydNhPXgFt2jsE FXFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2hjSfY6B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n10si4466315ejk.210.2021.09.16.13.12.52; Thu, 16 Sep 2021 13:13:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2hjSfY6B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241952AbhIPQXa (ORCPT + 99 others); Thu, 16 Sep 2021 12:23:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:54068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236183AbhIPQNT (ORCPT ); Thu, 16 Sep 2021 12:13:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A987C6138F; Thu, 16 Sep 2021 16:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808592; bh=VKGrGfaIkIqTCYqf7G2Wl8eaISQKQnce2LFkh/MfEdE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2hjSfY6BBFL/aNU1/c3o8ea1GQfLnRwjegJW7H4B0iXIYy8JcdLrcg4hkZRx+u8LN Nm1eGTRqgPU3Ti7OvpnbdLXJYd2EHD7Xcp54XyRexBdFVQoMBSNI5vRmx/c62sSw24 s1qROFlEUxI89FV7YAiEjijIgIM7c0Xz6RubBVdY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Johan Almbladh , Andrii Nakryiko , Sasha Levin Subject: [PATCH 5.10 150/306] bpf/tests: Fix copy-and-paste error in double word test Date: Thu, 16 Sep 2021 17:58:15 +0200 Message-Id: <20210916155759.182698181@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Johan Almbladh [ Upstream commit ae7f47041d928b1a2f28717d095b4153c63cbf6a ] This test now operates on DW as stated instead of W, which was already covered by another test. Signed-off-by: Johan Almbladh Signed-off-by: Andrii Nakryiko Link: https://lore.kernel.org/bpf/20210721104058.3755254-1-johan.almbladh@anyfinetworks.com Signed-off-by: Sasha Levin --- lib/test_bpf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/test_bpf.c b/lib/test_bpf.c index ca7d635bccd9..ca8eef2f6442 100644 --- a/lib/test_bpf.c +++ b/lib/test_bpf.c @@ -4286,8 +4286,8 @@ static struct bpf_test tests[] = { .u.insns_int = { BPF_LD_IMM64(R0, 0), BPF_LD_IMM64(R1, 0xffffffffffffffffLL), - BPF_STX_MEM(BPF_W, R10, R1, -40), - BPF_LDX_MEM(BPF_W, R0, R10, -40), + BPF_STX_MEM(BPF_DW, R10, R1, -40), + BPF_LDX_MEM(BPF_DW, R0, R10, -40), BPF_EXIT_INSN(), }, INTERNAL, -- 2.30.2