summaryrefslogtreecommitdiffstats
path: root/Documentation/bpf/standardization/abi.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/bpf/standardization/abi.rst')
-rw-r--r--Documentation/bpf/standardization/abi.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/bpf/standardization/abi.rst b/Documentation/bpf/standardization/abi.rst
index 0c2e10eeb89a..41514137cb7b 100644
--- a/Documentation/bpf/standardization/abi.rst
+++ b/Documentation/bpf/standardization/abi.rst
@@ -23,3 +23,6 @@ The BPF calling convention is defined as:
R0 - R5 are scratch registers and BPF programs needs to spill/fill them if
necessary across calls.
+
+The BPF program needs to store the return value into register R0 before doing an
+``EXIT``.