[PATCH bpf-next v1 1/1] docs: fixup cpumap sphinx >= 3.1 warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Maryam Tahhan <mtahhan@xxxxxxxxxx>

Fixup bpf_map_update_elem() declaration to use a single line.

Signed-off-by: Maryam Tahhan <mtahhan@xxxxxxxxxx>
Reported-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 Documentation/bpf/map_cpumap.rst | 3 +--
 1 file changed, 1 insertion(+), 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
-- 
2.35.3




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux