Re: [PATCH v2] bpf: Fix reStructuredText markup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2020-04-22 10:23 UTC+0200 ~ Jakub Wilk <jwilk@xxxxxxxxx>
> 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 <jwilk@xxxxxxxxx>
> ---
> 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(-)
> 
> diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
> index 2e29a671d67e..7bbf1b65be10 100644
> --- a/include/uapi/linux/bpf.h
> +++ b/include/uapi/linux/bpf.h
> @@ -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
> diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
> index 2e29a671d67e..7bbf1b65be10 100644
> --- a/tools/include/uapi/linux/bpf.h
> +++ b/tools/include/uapi/linux/bpf.h
> @@ -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 <quentin@xxxxxxxxxxxxx>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux