aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaryam Tahhan <[email protected]>2022-11-13 05:33:27 -0500
committerDaniel Borkmann <[email protected]>2022-11-14 19:10:57 +0100
commite662c7753668bbfb95e25043c6064088cc3a996d (patch)
treec8f888473e6099e22262d95db6a95f32dc8f5c63
parentdfd0afbf151d85411b371e841f62b81ee5d1ca54 (diff)
bpf, docs: Fixup cpumap sphinx >= 3.1 warning
Fixup bpf_map_update_elem() declaration to use a single line. Reported-by: Akira Yokosawa <[email protected]> Signed-off-by: Maryam Tahhan <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Tested-by: Akira Yokosawa <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
-rw-r--r--Documentation/bpf/map_cpumap.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/bpf/map_cpumap.rst b/Documentation/bpf/map_cpumap.rst
index eaf57b38cafd..61a797a86342 100644
--- a/Documentation/bpf/map_cpumap.rst
+++ b/Documentation/bpf/map_cpumap.rst
@@ -48,8 +48,7 @@ Userspace
program will result in the program failing to load and a verifier warning.
.. c:function::
- int bpf_map_update_elem(int fd, const void *key, const void *value,
- __u64 flags);
+ int bpf_map_update_elem(int fd, const void *key, const void *value, __u64 flags);
CPU entries can be added or updated using the ``bpf_map_update_elem()``
helper. This helper replaces existing elements atomically. The ``value`` parameter