Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] bpf: libbpf: eliminate Docum. warnings in libbpf_naming_convention
@ 2021-08-02  1:50 Randy Dunlap
  2021-08-03 11:00 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2021-08-02  1:50 UTC (permalink / raw)
  To: netdev
  Cc: Randy Dunlap, Grant Seltzer, Andrii Nakryiko, Daniel Borkmann,
	Alexei Starovoitov, bpf

Use "code-block: none" instead of "c" for non-C-language code blocks.
Removes these warnings:

lnx-514-rc4/Documentation/bpf/libbpf/libbpf_naming_convention.rst:111: WARNING: Could not lex literal_block as "c". Highlighting skipped.
lnx-514-rc4/Documentation/bpf/libbpf/libbpf_naming_convention.rst:124: WARNING: Could not lex literal_block as "c". Highlighting skipped.

Fixes: f42cfb469f9b ("bpf: Add documentation for libbpf including API autogen")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Grant Seltzer <grantseltzer@gmail.com>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: bpf@vger.kernel.org
---
 Documentation/bpf/libbpf/libbpf_naming_convention.rst |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- lnx-514-rc4.orig/Documentation/bpf/libbpf/libbpf_naming_convention.rst
+++ lnx-514-rc4/Documentation/bpf/libbpf/libbpf_naming_convention.rst
@@ -108,7 +108,7 @@ This bump in ABI version is at most once
 
 For example, if current state of ``libbpf.map`` is:
 
-.. code-block:: c
+.. code-block:: none
 
         LIBBPF_0.0.1 {
         	global:
@@ -121,7 +121,7 @@ For example, if current state of ``libbp
 , and a new symbol ``bpf_func_c`` is being introduced, then
 ``libbpf.map`` should be changed like this:
 
-.. code-block:: c
+.. code-block:: none
 
         LIBBPF_0.0.1 {
         	global:

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] bpf: libbpf: eliminate Docum. warnings in libbpf_naming_convention
  2021-08-02  1:50 [PATCH] bpf: libbpf: eliminate Docum. warnings in libbpf_naming_convention Randy Dunlap
@ 2021-08-03 11:00 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-08-03 11:00 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: netdev, grantseltzer, andrii, daniel, ast, bpf

Hello:

This patch was applied to bpf/bpf.git (refs/heads/master):

On Sun,  1 Aug 2021 18:50:37 -0700 you wrote:
> Use "code-block: none" instead of "c" for non-C-language code blocks.
> Removes these warnings:
> 
> lnx-514-rc4/Documentation/bpf/libbpf/libbpf_naming_convention.rst:111: WARNING: Could not lex literal_block as "c". Highlighting skipped.
> lnx-514-rc4/Documentation/bpf/libbpf/libbpf_naming_convention.rst:124: WARNING: Could not lex literal_block as "c". Highlighting skipped.
> 
> Fixes: f42cfb469f9b ("bpf: Add documentation for libbpf including API autogen")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Grant Seltzer <grantseltzer@gmail.com>
> Cc: Andrii Nakryiko <andrii@kernel.org>
> Cc: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Alexei Starovoitov <ast@kernel.org>
> Cc: bpf@vger.kernel.org
> 
> [...]

Here is the summary with links:
  - bpf: libbpf: eliminate Docum. warnings in libbpf_naming_convention
    https://git.kernel.org/bpf/bpf/c/a02215ce72a3

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-03 11:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02  1:50 [PATCH] bpf: libbpf: eliminate Docum. warnings in libbpf_naming_convention Randy Dunlap
2021-08-03 11:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).