Message ID | 20221113103327.3287482-1-mtahhan@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e662c7753668bbfb95e25043c6064088cc3a996d |
Delegated to: | BPF |
Headers | show |
Series | [bpf-next,v1,1/1] docs: fixup cpumap sphinx >= 3.1 warning | expand |
On Sun, 13 Nov 2022 05:33:27 -0500, mtahhan@redhat.com wrote: > From: Maryam Tahhan <mtahhan@redhat.com> > > Fixup bpf_map_update_elem() declaration to use a single line. > > Signed-off-by: Maryam Tahhan <mtahhan@redhat.com> > Reported-by: Akira Yokosawa <akiyks@gmail.com> Tested-by: Akira Yokosawa <akiyks@gmail.com> Thanks, Akira > --- > 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
On 11/13, mtahhan@redhat.com wrote: > From: Maryam Tahhan <mtahhan@redhat.com> > Fixup bpf_map_update_elem() declaration to use a single line. > Signed-off-by: Maryam Tahhan <mtahhan@redhat.com> > Reported-by: Akira Yokosawa <akiyks@gmail.com> Acked-by: Stanislav Fomichev <sdf@google.com> > --- > 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
Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@iogearbox.net>: On Sun, 13 Nov 2022 05:33:27 -0500 you wrote: > From: Maryam Tahhan <mtahhan@redhat.com> > > Fixup bpf_map_update_elem() declaration to use a single line. > > Signed-off-by: Maryam Tahhan <mtahhan@redhat.com> > Reported-by: Akira Yokosawa <akiyks@gmail.com> > > [...] 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!
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