bpf: Fix reStructuredText markup
PATCH 1/1 bpf: Fix reStructuredText markup
Fixes:
$ scripts/bpf_helpers_doc.py > bpf-helpers.rst
$ rst2man bpf-helpers.rst > bpf-helpers.7
bpf-helpers.rst:1105: (WARNING/2) Inline strong start-string without end-string.Signed-off-by Jakub Wilk <[email protected]>
--- include/uapi/linux/bpf.h | 2 +- tools/include/uapi/linux/bpf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/uapi/linux/bpf.h +1 -1
@@ -1642,7 +1642,7 @@ union bpf_attr {* ifindex, but doesn't require a map to do so. * Return * **XDP_REDIRECT** on success, or the value of the two lower bits -* of the **flags* argument on error. +* of the **flags** argument on error. * * int bpf_sk_redirect_map(struct sk_buff *skb, struct bpf_map *map, u32 key, u64 flags) * Description
tools/include/uapi/linux/bpf.h +1 -1
@@ -1642,7 +1642,7 @@ union bpf_attr {* ifindex, but doesn't require a map to do so. * Return * **XDP_REDIRECT** on success, or the value of the two lower bits -* of the **flags* argument on error. +* of the **flags** argument on error. * * int bpf_sk_redirect_map(struct sk_buff *skb, struct bpf_map *map, u32 key, u64 flags) * Description
Signature · 1 line
2.26.1
PATCH v2 1/1 bpf: Fix reStructuredText markup
Fixes:
$ scripts/bpf_helpers_doc.py > bpf-helpers.rst
$ rst2man bpf-helpers.rst > bpf-helpers.7
bpf-helpers.rst:1105: (WARNING/2) Inline strong start-string without end-string.Signed-off-by Jakub Wilk <[email protected]>
---
v2: "flags" should be italic, not bold
include/uapi/linux/bpf.h | 2 +- tools/include/uapi/linux/bpf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/uapi/linux/bpf.h +1 -1
@@ -1642,7 +1642,7 @@ union bpf_attr {* ifindex, but doesn't require a map to do so. * Return * **XDP_REDIRECT** on success, or the value of the two lower bits -* of the **flags* argument on error. +* of the *flags* argument on error. * * int bpf_sk_redirect_map(struct sk_buff *skb, struct bpf_map *map, u32 key, u64 flags) * Description
tools/include/uapi/linux/bpf.h +1 -1
@@ -1642,7 +1642,7 @@ union bpf_attr {* ifindex, but doesn't require a map to do so. * Return * **XDP_REDIRECT** on success, or the value of the two lower bits -* of the **flags* argument on error. +* of the *flags* argument on error. * * int bpf_sk_redirect_map(struct sk_buff *skb, struct bpf_map *map, u32 key, u64 flags) * Description
Signature · 1 line
2.26.2
2020-04-22 10:23 UTC+0200 ~ Jakub Wilk <[email protected]>
Quoted 33 lines
Fixes:
$ scripts/bpf_helpers_doc.py > bpf-helpers.rst $ rst2man bpf-helpers.rst > bpf-helpers.7 bpf-helpers.rst:1105: (WARNING/2) Inline strong start-string without end-string.Signed-off-by Jakub Wilk <[email protected]>---
v2: "flags" should be italic, not boldinclude/uapi/linux/bpf.h | 2 +- tools/include/uapi/linux/bpf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)include/uapi/linux/bpf.h +1
-1@@ -1642,7 +1642,7 @@ union bpf_attr {* ifindex, but doesn't require a map to do so. * Return * **XDP_REDIRECT** on success, or the value of the two lower bits -* of the **flags* argument on error. +* of the *flags* argument on error. * * int bpf_sk_redirect_map(struct sk_buff *skb, struct bpf_map *map, u32 key, u64 flags) * Description tools/include/uapi/linux/bpf.h +0
-0
tools/include/uapi/linux/bpf.h union bpf_attr { · line 1648
Quoted 8 lines
tools/include/uapi/linux/bpf.h +1
-1@@ -1642,7 +1642,7 @@ union bpf_attr {* ifindex, but doesn't require a map to do so. * Return * **XDP_REDIRECT** on success, or the value of the two lower bits -* of the **flags* argument on error. +* of the *flags* argument on error. * * int bpf_sk_redirect_map(struct sk_buff *skb, struct bpf_map *map, u32 key, u64 flags) * Description
I was about to send the same :). Thanks!
Reviewed-by Quentin Monnet <[email protected]>
Quoted 8 lines · Jakub Wilk
Fixes:
$ scripts/bpf_helpers_doc.py > bpf-helpers.rst $ rst2man bpf-helpers.rst > bpf-helpers.7 bpf-helpers.rst:1105: (WARNING/2) Inline strong start-string without end-string.Signed-off-by Jakub Wilk <[email protected]>
I think that's bpf tree material. Applied