Skip to content

Commit 90bde89

Browse files
Yonghong SongAlexei Starovoitov
authored andcommitted
docs/bpf: Fix an incorrect statement in verifier.rst
In verifier.rst, I found an incorrect statement (maybe a typo) in section 'Liveness marks tracking'. Basically, the wrong register is attributed to have a read mark. This may confuse the user. Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20240111052136.3440417-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent 536dfcb commit 90bde89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/bpf/verifier.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ works::
562562
* ``checkpoint[0].r1`` is marked as read;
563563

564564
* At instruction #5 exit is reached and ``checkpoint[0]`` can now be processed
565-
by ``clean_live_states()``. After this processing ``checkpoint[0].r0`` has a
565+
by ``clean_live_states()``. After this processing ``checkpoint[0].r1`` has a
566566
read mark and all other registers and stack slots are marked as ``NOT_INIT``
567567
or ``STACK_INVALID``
568568

0 commit comments

Comments
 (0)