docs/bpf: Fix a typo in verifier.rst
authorYiming Xiang <kxiang@umich.edu>
Thu, 29 Aug 2024 03:17:12 +0000 (23:17 -0400)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 29 Aug 2024 19:19:30 +0000 (12:19 -0700)
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 <kxiang@umich.edu>
Link: https://lore.kernel.org/r/20240829031712.198489-1-kxiang@umich.edu
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/verifier.rst

index 3568943..d237615 100644 (file)
@@ -418,7 +418,7 @@ The rules for correspondence between registers / stack slots are as follows:
   linked to the registers and stack slots of the parent state with the same
   indices.
 
-* For the outer stack frames, only caller saved registers (r6-r9) and stack
+* For the outer stack frames, only callee saved registers (r6-r9) and stack
   slots are linked to the registers and stack slots of the parent state with the
   same indices.