Skip to content

Commit 89dd9bb

Browse files
linsykingAlexei Starovoitov
authored andcommitted
docs/bpf: Fix a typo in verifier.rst
In verifier.rst, there is a typo in section 'Register parentage chains'. Caller saved registers are r0-r5, callee saved registers are r6-r9. Here by context it means callee saved registers rather than caller saved registers. This may confuse users. Signed-off-by: Yiming Xiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent bd0b483 commit 89dd9bb

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
@@ -418,7 +418,7 @@ The rules for correspondence between registers / stack slots are as follows:
418418
linked to the registers and stack slots of the parent state with the same
419419
indices.
420420

421-
* For the outer stack frames, only caller saved registers (r6-r9) and stack
421+
* For the outer stack frames, only callee saved registers (r6-r9) and stack
422422
slots are linked to the registers and stack slots of the parent state with the
423423
same indices.
424424

0 commit comments

Comments
 (0)