diff options
author | Yiming Xiang <kxiang@umich.edu> | 2024-08-29 05:17:12 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-08-29 21:19:30 +0200 |
commit | 89dd9bb25597621ca0500aa598140ff0858091e2 (patch) | |
tree | bb118b1951fbcfaa0c11e80a45c5763662029893 /Documentation/bpf | |
parent | selftests/bpf: Make sure stashed kptr in local kptr is freed recursively (diff) | |
download | linux-89dd9bb25597621ca0500aa598140ff0858091e2.tar.xz linux-89dd9bb25597621ca0500aa598140ff0858091e2.zip |
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 <kxiang@umich.edu>
Link: https://lore.kernel.org/r/20240829031712.198489-1-kxiang@umich.edu
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/bpf')
-rw-r--r-- | Documentation/bpf/verifier.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/bpf/verifier.rst b/Documentation/bpf/verifier.rst index 356894399fbf..d23761540002 100644 --- a/Documentation/bpf/verifier.rst +++ b/Documentation/bpf/verifier.rst @@ -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. |