Skip to contentSkip to conversation

bpf: libbpf: eliminate Docum. warnings in libbpf_naming_convention

PATCH Applied Randy Dunlap 2 participants 2 messages Aug 2, 2021 – Aug 3, 2021

Subsystems (4)
lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 1/1 bpf: libbpf: eliminate Docum. warnings in libbpf_naming_convention

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")
Cc Grant Seltzer <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Daniel Borkmann <[email protected]>
Cc Alexei Starovoitov <[email protected]>
---
 Documentation/bpf/libbpf/libbpf_naming_convention.rst |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/bpf/libbpf/libbpf_naming_convention.rst +2 -2
@@ -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:
#1 lore raw
This patch was applied to bpf/bpf.git (refs/heads/master):

Hello:

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

Quoted 14 lines · 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")
Cc Grant Seltzer <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Daniel Borkmann <[email protected]>
Cc Alexei Starovoitov <[email protected]>
Quoted 1 line

[...]

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