2022-11-14 07:40:54

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warnings after merge of the net-next tree

Hi all,

After merging the net-next tree, today's linux-next build (htmldocs)
produced these warnings:

Documentation/bpf/map_cpumap.rst:50: WARNING: Error in declarator or parameters
Invalid C declaration: Expected identifier in nested name. [error at 67]
int bpf_map_update_elem(int fd, const void *key, const void *value,
-------------------------------------------------------------------^
Documentation/bpf/map_cpumap.rst:50: WARNING: Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 11]
__u64 flags);
-----------^
Documentation/bpf/map_cpumap.rst:73: WARNING: Duplicate C declaration, also defined at bpf/map_array:35.
Declaration is '.. c:function:: int bpf_map_lookup_elem(int fd, const void *key, void *value);'.

Introduced by commit

161939abc80b ("docs/bpf: Document BPF_MAP_TYPE_CPUMAP map")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2022-11-14 08:54:50

by Akira Yokosawa

[permalink] [raw]
Subject: Re: linux-next: build warnings after merge of the net-next tree

On Mon, 14 Nov 2022 18:31:31 +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the net-next tree, today's linux-next build (htmldocs)
> produced these warnings:
>
> Documentation/bpf/map_cpumap.rst:50: WARNING: Error in declarator or parameters
> Invalid C declaration: Expected identifier in nested name. [error at 67]
> int bpf_map_update_elem(int fd, const void *key, const void *value,
> -------------------------------------------------------------------^
> Documentation/bpf/map_cpumap.rst:50: WARNING: Error in declarator or parameters
> Invalid C declaration: Expecting "(" in parameters. [error at 11]
> __u64 flags);
> -----------^
> Documentation/bpf/map_cpumap.rst:73: WARNING: Duplicate C declaration, also defined at bpf/map_array:35.
> Declaration is '.. c:function:: int bpf_map_lookup_elem(int fd, const void *key, void *value);'.
>
> Introduced by commit
>
> 161939abc80b ("docs/bpf: Document BPF_MAP_TYPE_CPUMAP map")

Hi Stephen,

Maryam has posted a patch at:

https://lore.kernel.org/r/[email protected]/

Thanks, Akira

>
> --
> Cheers,
> Stephen Rothwell