Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2320075pxb; Mon, 20 Sep 2021 18:43:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynzyofdzLOBBipILfJnX5OFQP/e9sDK94ZVldKLu05fYVgbS+L5YwY15J8HEbuMFGG6Gm1 X-Received: by 2002:a17:906:1510:: with SMTP id b16mr33217236ejd.332.1632188619295; Mon, 20 Sep 2021 18:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632188619; cv=none; d=google.com; s=arc-20160816; b=u65JXjwm537O5iobx9P8eQQdIY09tl7H/XYe1Emxl76cTNn9y31WU70IBYFdGNI9ij 7DYuRKpIrjDpUeCO/hqXE0zZiwVCB9evkhv5HE/+GN1uJBWLKxHSRlFFq85N9Dq/gMAD qrG7VqtmUytbO/WhPOkjxMnQzP9VkyheTKLmwR/Ouizcrigj69V4k8cB1/5Lr+yyyKLN QQRk1l0J/EtQXzGLyKKzcy3aLLE7D24Gd56QfrY9FmH6s3AGZlBFgL8DrDJp9f/dwMj0 rQk9Xsc9vBVlP4G+pKGrTjGdnb1RWLT+S0whYikAnpdM41OQjjySgzFUoITJQUvfWZE8 m+tw== 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=8L+yPUf0eGBSzob8Idm6dlbWKaFJyOoaox/KD7/rT/o=; b=eMOFjV0r31uqGzun9Dyi4ZlZbEDEq9+GJCgkqmPvlLGJ1thryrv4jMCthW542f4W/6 7e3CbXktR9TwtMNR++iypc7ROGuYIZEMJEp6qW9syzH2RlkXfJXIgpm68vw5L+EON8Ak 0fja9L1Oa9/0thgtyJnQ5JU0vs60n7Uc/5tlcUKYQi+8hxOBAwmBtMkaPZeWBBR9i7RR fDUX264Sv2WAo/CYZIJ79sCmMyd2UTttLDyEHaClAn87meaBD6CGdIa2Fli8S+lE77L1 zz3lzq1vWFu6iF9zQdjP6r1vI935EkH2CzQAIVu6E8WkQN+qhZ4F7V+/GLDq/HfkBaJg caQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="cj/aZBZj"; 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 d19si18291171edn.202.2021.09.20.18.43.15; Mon, 20 Sep 2021 18:43:39 -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="cj/aZBZj"; 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 S245191AbhITQ4H (ORCPT + 99 others); Mon, 20 Sep 2021 12:56:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:36076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244561AbhITQwX (ORCPT ); Mon, 20 Sep 2021 12:52:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9142A61357; Mon, 20 Sep 2021 16:49:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632156587; bh=qi4ocb7Zue/9G442AE8pKmC9HONwGwETAYk2cWmoNsg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cj/aZBZj2xmKwtroht2T4Ics3Ol21c4UP+xdPuJLh1d5xTGUD7XYBopqaZaNLAN9R gr7y5OJSoUoqRsEvbBRP0XXSR1bIla/1+6FXuODn7MldB4f7sd6xepnUOkC2vpD/g4 GQICtLMsBtzjmXo3jWih3VKnDGH0ry5qh+eJ/5Zg= 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 4.4 094/133] bpf/tests: Fix copy-and-paste error in double word test Date: Mon, 20 Sep 2021 18:42:52 +0200 Message-Id: <20210920163915.713742017@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163912.603434365@linuxfoundation.org> References: <20210920163912.603434365@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 b1495f586f29..7db8d06006d8 100644 --- a/lib/test_bpf.c +++ b/lib/test_bpf.c @@ -3983,8 +3983,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