From: Maryam Tahhan Date: Sun, 13 Nov 2022 10:33:27 +0000 (-0500) Subject: bpf, docs: Fixup cpumap sphinx >= 3.1 warning X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e662c7753668bbfb95e25043c6064088cc3a996d;p=linux.git bpf, docs: Fixup cpumap sphinx >= 3.1 warning Fixup bpf_map_update_elem() declaration to use a single line. Reported-by: Akira Yokosawa Signed-off-by: Maryam Tahhan Signed-off-by: Daniel Borkmann Tested-by: Akira Yokosawa Acked-by: Stanislav Fomichev Link: https://lore.kernel.org/bpf/20221113103327.3287482-1-mtahhan@redhat.com --- diff --git a/Documentation/bpf/map_cpumap.rst b/Documentation/bpf/map_cpumap.rst index eaf57b38cafd5..61a797a86342c 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