[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1c8a0445-ee7d-991a-2ec8-cdc29204c68a@gmail.com>
Date: Sat, 5 Nov 2022 09:05:42 +0900
From: Akira Yokosawa <akiyks@...il.com>
To: Andrii Nakryiko <andrii.nakryiko@...il.com>
Cc: andrii@...nel.org, ast@...nel.org, bagasdotme@...il.com,
bpf@...r.kernel.org, corbet@....net, daniel@...earbox.net,
haoluo@...gle.com, john.fastabend@...il.com, jolsa@...nel.org,
kpsingh@...nel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, martin.lau@...ux.dev,
memxor@...il.com, sdf@...gle.com, song@...nel.org,
void@...ifault.com, yhs@...com, Akira Yokosawa <akiyks@...il.com>
Subject: Re: [PATCH bpf-next] Documentation: bpf: escape underscore in BPF
type name prefix
Hi,
On Fri, 4 Nov 2022 16:11:10 -0700, Andrii Nakryiko wrote:
[...]
> Applied, thanks. But would the other similar case be problematic?
>
> $ rg 'bpf_\b'
> bpf_design_QA.rst
> 329:NOTE: BPF subsystem specially reserves the 'bpf_' prefix for type names, in
> 331:avoid defining types with 'bpf_' prefix to not be broken in future
> releases. In
> 333:with 'bpf_' prefix.
>
> libbpf/libbpf_naming_convention.rst
> 12:following prefixes: ``bpf_``, ``btf_``, ``libbpf_``, ``btf_dump_``,
> 59:described above should have ``libbpf_`` prefix, e.g.
Those other cases are all inside double back quotes and
construct "inline literal" strings. So they are fine.
Which means Bagas could have used the "inline literal" approach
instead.
Regards,
Akira
Powered by blists - more mailing lists