Re: [PATCH bpf-next v2] docs/bpf: document BPF ARRAY_OF_MAPS and HASH_OF_MAPS

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

 



On Fri, Nov 04, 2022 at 10:19:28AM +0000, Donald Hunter wrote:
> +Kernel BPF
> +----------
<snipped>...
> +Kernel BPF
> +----------
> +

As kernel test robot has reported [1], you need to disambiguate both heading
titles above:

---- >8 ----

diff --git a/Documentation/bpf/map_of_maps.rst b/Documentation/bpf/map_of_maps.rst
index d5a09bc669a34c..4dfe6ef9938e70 100644
--- a/Documentation/bpf/map_of_maps.rst
+++ b/Documentation/bpf/map_of_maps.rst
@@ -50,8 +50,8 @@ used to disable pre-allocation when it is too memory expensive.
 Usage
 =====
 
-Kernel BPF
-----------
+Helpers for kernel BPF
+----------------------
 
 .. c:function::
    void *bpf_map_lookup_elem(struct bpf_map *map, const void *key)
@@ -62,8 +62,8 @@ helper returns a pointer to the inner map, or ``NULL`` if no entry was found.
 Examples
 ========
 
-Kernel BPF
-----------
+Kernel BPF examples
+-------------------
 
 This snippet shows how to create an array of devmaps in a BPF program. Note that
 the outer array can only be modified from user space using the syscall API.

Thanks.

[1]: https://lore.kernel.org/linux-doc/202211051940.yqd37TmX-lkp@xxxxxxxxx/

-- 
An old man doll... just what I always wanted! - Clara

Attachment: signature.asc
Description: PGP signature


[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