Skip to contentSkip to conversation

docs: fixup cpumap sphinx >= 3.1 warning

PATCH Applied [email protected] 4 participants 4 messages Nov 13, 2022 – Nov 14, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: fixup cpumap sphinx >= 3.1 warning

From: Maryam Tahhan <[email protected]>

Fixup bpf_map_update_elem() declaration to use a single line.

---
 Documentation/bpf/map_cpumap.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/bpf/map_cpumap.rst +1 -2
index eaf57b38cafd..61a797a86342 100644
@@ -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
Signature · 1 line
2.35.3
Tested-by on v1 1/1
#1 lore raw
Quoted 6 lines · On Sun, 13 Nov 2022 05:33:27 -0500, [email protected] wrote:

From: Maryam Tahhan <[email protected]>

Fixup bpf_map_update_elem() declaration to use a single line.

Thanks, Akira

Quoted 18 lines
---
 Documentation/bpf/map_cpumap.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/bpf/map_cpumap.rst +1 -2
index eaf57b38cafd..61a797a86342 100644
@@ -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
Acked-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 6 lines · On 11/13, [email protected] wrote:

From: Maryam Tahhan <[email protected]>

Fixup bpf_map_update_elem() declaration to use a single line.

Quoted 23 lines
---
  Documentation/bpf/map_cpumap.rst | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/bpf/map_cpumap.rst +0 -0
index eaf57b38cafd..61a797a86342 100644
@@ -48,8 +48,7 @@ Userspace
      program will result in the program failing to load and a verifier  

warning.

.. c:function::

Documentation/bpf/map_cpumap.rst +1 -2
-    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
--
2.35.3

#3 lore raw
In reply to [email protected]
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:

Quoted 8 lines · On Sun, 13 Nov 2022 05:33:27 -0500 you wrote:

From: Maryam Tahhan <[email protected]>

Fixup bpf_map_update_elem() declaration to use a single line.

[...]

Here is the summary with links:
- [bpf-next,v1,1/1] docs: fixup cpumap sphinx >= 3.1 warning

    https://git.kernel.org/bpf/bpf-next/c/e662c7753668

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html