[dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0
Jayatheerthan, Jay
jay.jayatheerthan at intel.com
Mon May 2 09:00:18 CEST 2022
Looks good, thanks!
Acked-by: Jay Jayatheerthan <jay.jayatheerthan at intel.com>
-Jay
> -----Original Message-----
> From: jerinj at marvell.com <jerinj at marvell.com>
> Sent: Sunday, May 1, 2022 8:27 PM
> To: dev at dpdk.org; Jayatheerthan, Jay <jay.jayatheerthan at intel.com>; Jerin Jacob <jerinj at marvell.com>; Ray Kinsella
> <mdr at ashroe.eu>; Pavan Nikhilesh <pbhagavatula at marvell.com>
> Cc: thomas at monjalon.net; david.marchand at redhat.com; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH] doc: fix build error with sphinx 4.5.0
>
> From: Jerin Jacob <jerinj at marvell.com>
>
> Latest sphinx checks c language syntax more aggressively.
> Fix the following warning by correcting c language syntax.
>
> doc/guides/prog_guide/event_ethernet_rx_adapter.rst:243:
> WARNING: Could not lex literal_block as "c". Highlighting skipped.
>
> Fixes: 3c838062b91f ("eventdev: introduce event vector Rx capability")
> Cc: Pavan Nikhilesh <pbhagavatula at marvell.com>
> Cc: stable at dpdk.org
>
> Signed-off-by: Jerin Jacob <jerinj at marvell.com>
> ---
> doc/guides/prog_guide/event_ethernet_rx_adapter.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> index 67b11e1563..3b4ef502b2 100644
> --- a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> +++ b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst
> @@ -257,8 +257,8 @@ A loop processing ``rte_event_vector`` containing mbufs is shown below.
> /* Process each mbuf. */
> }
> break;
> - case ...
> - ...
> + case default:
> + /* Handle other event_types. */
> }
>
> Rx event vectorization for SW Rx adapter
> --
> 2.36.0
More information about the stable
mailing list