On Thu, Dec 9, 2021 at 12:32 PM Grant Seltzer Richman <grantseltzer@xxxxxxxxx> wrote: > > On Thu, Dec 9, 2021 at 4:09 AM Yanteng Si <siyanteng01@xxxxxxxxx> wrote: > > > > Since f42cfb469f9b ("bpf: Add documentation for libbpf including API autogen") which > > introduced a warning: > > > > linux/Documentation/bpf/libbpf/index.rst > > > > Add it into index/bpf. > > > > Signed-off-by: Yanteng Si <siyanteng@xxxxxxxxxxx> > > --- > > Documentation/bpf/index.rst | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/Documentation/bpf/index.rst b/Documentation/bpf/index.rst > > index 610450f59e05..bdf66f57f910 100644 > > --- a/Documentation/bpf/index.rst > > +++ b/Documentation/bpf/index.rst > > @@ -17,6 +17,11 @@ libbpf > > > > Documentation/bpf/libbpf/index.rst is a userspace library for loading and interacting with bpf programs. > > > > +.. toctree:: > > + :maxdepth: 1 > > + > > + libbpf/index > > + > > I may be wrong (I'm confused easily by mailing lists) but I believe > your tree is out of date, this was already added in patch > 5931d9a3d0529dc803c792a10e52f0de1d0b9991 Apologies, I see this was sent to the linux-doc mailing list. The above patch ID was submitted to bpf-next. > > > BPF Type Format (BTF) > > ===================== > > > > -- > > 2.27.0 > >