Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp446328pxb; Thu, 9 Sep 2021 04:47:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzq+egfBBv9HmtUP0Ur0E3+ok7bcE4HTbaQzjoILmIFnserxXeT1dDpMbawQOtUGtx2gs0g X-Received: by 2002:a6b:b883:: with SMTP id i125mr2297009iof.144.1631188050518; Thu, 09 Sep 2021 04:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631188050; cv=none; d=google.com; s=arc-20160816; b=qimUwXyn3PRgOWxSs5vRV0Z/nrCNozO1HIBEkkF9hiLktkADaWa9NlEdaGEKxHMon+ 00udQNeZWm7ttC2SptKMOVMj3evmothPtonK21FLMAVKTNr3P0JUa3M9fKEn9/PntRy/ TABKlnepxcWnlj84/CxF+qkK7ADve7mNFDWMUtgRlWlKiU79j5g8PVCFMujAIruaReIV fwbsgwLPDYeRMiXJawSnWNffjB4e3y1ATPyPXU/hiyJrFQCSAwuYKqTFNRsseGtw8rQg SnrdFqvide7+iwCAq1um/HYcMTRnrtg47+0VfDNeZSfiRPG37FT9T5h9YxMzHQXtMzrB dkfg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+24kDyVhQ9OJS84ywtZ+N4IXFZCFeFVRec6xK5waFxQ=; b=VFa0szQ+yL8DNjZwTokjGDPkjDIWIHnzTuHDKOXmIveW0SRIiZx4rYggVliB/v4tn3 O4aRzK0ekOLTSaupVy8wRpHXTJACNVwLBeg9kblguJA8Av/G09Xp0Jh0kIROp7vWgtpM OsxF4ByclRIC36s/zKY38wqDWIPbK99XizDX4v23vnGt+QQPlMUQ0Alr0xvkW71m9+u5 EwGbTgiWNiOYGorI9wI5v2Um+hpuVjaJLGG27pRIavJRqlcdpw1EhymqlMkJkEyZlKv+ 2rXD5RK8rUMsKHi6P9PfzBHcz4jtnd0FaGTkM8CKF48baJSYB8kcDshtM/FIovYB6t/2 fsaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tY8rX5/x"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h13si1640564ilc.131.2021.09.09.04.47.15; Thu, 09 Sep 2021 04:47:30 -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=@kernel.org header.s=k20201202 header.b="tY8rX5/x"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241133AbhIILqh (ORCPT + 99 others); Thu, 9 Sep 2021 07:46:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:47266 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239687AbhIILoR (ORCPT ); Thu, 9 Sep 2021 07:44:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7B6A061209; Thu, 9 Sep 2021 11:42:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631187749; bh=muu/jGLTtttFmQjtnPa4AwWkhKRn8IA8zQIhSyPmmys=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tY8rX5/xcwtCxWdl3lGLnBeRWuvOLO0O0737AZ8ZuCaoWa9GddiWErqSu5tHi/CDf /BtDoa9xge0kxDnmdxt6WJRxDL16LTxh3kMebSdNRHvGJ51KzpQxwAgk9GQEm7DTwB QgPBatUInFDjp7zpHWmbE0Q4HLT88mVaqq4WoVTdR1bqTi2FBF9MmBKlMY4S5BIRbD y02OpFz+DQTI+g9NfLbKc6a8qDAQqgIDpet5lZCXFUo3CHjEz8BU870IbmkJgx6JZv ljoLNU9a7VjTi81YhhVVmf3XbYlozPWDdR+AiKgReHiKGoyFe+ZFpQ5xZZR0yeLFO4 LHZvr+WfAHS2w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Johan Almbladh , Andrii Nakryiko , Sasha Levin , netdev@vger.kernel.org, bpf@vger.kernel.org Subject: [PATCH AUTOSEL 5.14 064/252] bpf/tests: Fix copy-and-paste error in double word test Date: Thu, 9 Sep 2021 07:37:58 -0400 Message-Id: <20210909114106.141462-64-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909114106.141462-1-sashal@kernel.org> References: <20210909114106.141462-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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 d500320778c7..1c5299cb3f19 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