From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 25BD83438A8; Thu, 2 Jul 2026 16:46:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783010762; cv=none; b=mhTpO7uWfOaG53MsDEMUngoiTGrmMRIEwGbMv+m0sJf1ZmZAl15w8w/TKjwZJTTPJCdGqdgqTufG7i2c3zxhIPWRCsM7JU7GojiotYMSZNVt2HL6CEuWGVOc6VeQeIeywb5QFRe0GQM796wf+95uCLhv7VEDXSUHbXEJRwBdYqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783010762; c=relaxed/simple; bh=ilg+wBRfySU4Af6lKmaV7UtgBF+3+a1caEnDIsc5oVw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZWlcOEU+vh67eN0dDE5FGTnEW5wP5zkU9c1Qi0uGXMxLQYa4XlfmLqfczn/gQc9hf9upKPF0PtNv3s4gSZS3iVS8VAHSHqwnCK1WWswnJ5MsifVIJ9p709MQq6Mst9uIJqIfR9e0tuxu0fDghJQeyG8Na6/OvNM4NHIB2tZ2LfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AgRstcCk; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="AgRstcCk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 869E11F000E9; Thu, 2 Jul 2026 16:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1783010761; bh=fflmoGkNn7oneBcmY3x1rntzsngO6rt3tKmIPCOWbHM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=AgRstcCkOZa0hyHs3n0HlGdiN6PWA8CejhhvWlMXnN7eRDLlEeerkjiV3z0gpi+sW /z4/Rl3R+V2crCbeW28IFyEg9xXsrAjHrlQh3mBn78MQFPFd4V0wq6RttjmQXSlrOz 0+7Zd7J+0R7YopmNm2QJIuinPFQdRvjpWLAgKlAo= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Eduard Zingerman , Andrii Nakryiko , Zhenzhong Wu , Sasha Levin Subject: [PATCH 6.6 027/175] selftests/bpf: Update comments find_equal_scalars->sync_linked_regs Date: Thu, 2 Jul 2026 18:18:48 +0200 Message-ID: <20260702155116.369897973@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260702155115.766838875@linuxfoundation.org> References: <20260702155115.766838875@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Eduard Zingerman [ Upstream commit cfbf25481d6dec0089c99c9d33a2ea634fe8f008 ] find_equal_scalars() is renamed to sync_linked_regs(), this commit updates existing references in the selftests comments. Signed-off-by: Eduard Zingerman Signed-off-by: Andrii Nakryiko Link: https://lore.kernel.org/bpf/20240718202357.1746514-5-eddyz87@gmail.com [ zhenzhong: only two pre-existing comments still needed updating in 6.6.y. ] Signed-off-by: Zhenzhong Wu Signed-off-by: Sasha Levin --- tools/testing/selftests/bpf/progs/verifier_spill_fill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/bpf/progs/verifier_spill_fill.c b/tools/testing/selftests/bpf/progs/verifier_spill_fill.c index 1f71f596d33f8b..07a2527a8f47a7 100644 --- a/tools/testing/selftests/bpf/progs/verifier_spill_fill.c +++ b/tools/testing/selftests/bpf/progs/verifier_spill_fill.c @@ -392,7 +392,7 @@ __naked void spill_32bit_of_64bit_fail(void) *(u32*)(r10 - 8) = r1; \ /* 32-bit fill r2 from stack. */ \ r2 = *(u32*)(r10 - 8); \ - /* Compare r2 with another register to trigger find_equal_scalars.\ + /* Compare r2 with another register to trigger sync_linked_regs.\ * Having one random bit is important here, otherwise the verifier cuts\ * the corners. If the ID was mistakenly preserved on spill, this would\ * cause the verifier to think that r1 is also equal to zero in one of\ @@ -431,7 +431,7 @@ __naked void spill_16bit_of_32bit_fail(void) *(u16*)(r10 - 8) = r1; \ /* 16-bit fill r2 from stack. */ \ r2 = *(u16*)(r10 - 8); \ - /* Compare r2 with another register to trigger find_equal_scalars.\ + /* Compare r2 with another register to trigger sync_linked_regs.\ * Having one random bit is important here, otherwise the verifier cuts\ * the corners. If the ID was mistakenly preserved on spill, this would\ * cause the verifier to think that r1 is also equal to zero in one of\ -- 2.53.0