Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp522089pxb; Thu, 9 Sep 2021 06:22:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwT4D8ADiaFsLw6Q0t+CA1extwgtuWjInEp7hkuYWLG5DrHpt6lx3CGA6XXT8RSL0+5YSFV X-Received: by 2002:a05:6402:5107:: with SMTP id m7mr3159093edd.63.1631193730861; Thu, 09 Sep 2021 06:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631193730; cv=none; d=google.com; s=arc-20160816; b=exMJJva1C8xyvHbgJT1i9pVkXozwyDvV4NTtOh9gNSgH8UaJWfB2dDBsQMqijmGF68 UZrLs31Z0CB4RyXNaSp8IObDVDInMYULVRtiOo/sZD6ilevonTIlCfXK3Bhlvld7Srgs sdYUg3q2IfHbnPs4Pon9n4mg01YWyqGha6dRDgKI42HyHkmg565Yptiwcg+q5y9hy7fA h44ZJPZ5/ltXoXuLtWHSoVo5yWjuH/Le2LzO8EU/WfQ911tGu1+Ms3lhy90xnsXxycOD fHlK0X8ItaBh6OHAsHPUet10OxI3t37G9JjG7+nSjDt/WcDbkgOSolFoh3XcWG/R/9oG l90g== 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=UkKs12LQVVW8eyr64OXOHlR6NEguC1CmJcmWK0wHnoQ=; b=yPAYS7ekOyHxsnmv6zTyKCIk95v9nqaXvgnwUc0GmUb7Z04mGY91gKlOpKq4OiYmZv RzfaLkzbyQZI5/kdCpNcZdmEntZHhpNWr4jHReROyiLWEylECqKzW1o54Ou3PGZr5bG8 hlrVsze4eEdAaTI33EKv3VHgJl6qYh8ewcn1S+2ThuKj4rLi5gUZDSfXeAdarURKmWL9 4uiCcB8zmqt6bpJ0B0fshe13tIVZUC02GXY5Kj/M3KLVi8Qiogq8nSVscC6h9IqA4ZEs IIuc6d1E+NCq47wQTBlfLAO7qyrlUSlefPvTeSEUTKY2P/K/5VMxdRFznsg2bntw9kbg EIMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZIZbwVNL; 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 hs3si2595326ejc.368.2021.09.09.06.21.46; Thu, 09 Sep 2021 06:22:10 -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=ZIZbwVNL; 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 S1353365AbhIINVS (ORCPT + 99 others); Thu, 9 Sep 2021 09:21:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:42432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357490AbhIINBD (ORCPT ); Thu, 9 Sep 2021 09:01:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BD10B6140A; Thu, 9 Sep 2021 11:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631188760; bh=YtbVEEC4Fc8VxrXVU+a9hOu8LZW9VwEKLu2s/O2098E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZIZbwVNLKBkz7yBiFZ1lsG/Qppa4lMuGxBFJYuHDV46NG0MI2p4RSwLkNPn9xGLjM sq24PbqOyumWELQGdqm59nYoFXRST/wkXKnc5gkOBwHN+9OghCG5i3Oc8AzTwsljX7 orOqAuV1yzPDulhgcAXjaa0FntzHMx5khO4hWzQ92PHfOYsETEuokDz4HEk7wa2KX6 sOXfxdxl3Q2KbVMHlCCQkEkQtNDjHyK2c7vfoVgs10/06NDvT86FJlIcQcJCBgFSOw /rwpdEP1qpv/wGFggjBhk04ZSgJZT6hwBdK3pd+qeaCnvBwb/E4qzb9NwI9jFgnc7T HIXtINbYpjX/A== 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 4.14 15/59] bpf/tests: Fix copy-and-paste error in double word test Date: Thu, 9 Sep 2021 07:58:16 -0400 Message-Id: <20210909115900.149795-15-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909115900.149795-1-sashal@kernel.org> References: <20210909115900.149795-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 75ebf2bbc2ee..4aa88ba8238c 100644 --- a/lib/test_bpf.c +++ b/lib/test_bpf.c @@ -4395,8 +4395,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