From: Dariusz Sosnowski Date: Fri, 29 Oct 2021 13:19:02 +0000 (+0300) Subject: doc: fix typo in coding style X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=6965091e0bf15134328ed0038b03a7700dc17245 doc: fix typo in coding style This patch fixes a typo in DPDK Coding Style, in Return Values section, i.e. replaces "indicated may" with "indicated by". Fixes: 36032e46be40 ("doc: add coding style") Cc: stable@dpdk.org Signed-off-by: Dariusz Sosnowski Acked-by: Bruce Richardson --- diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst index 1ce5d00e36..0ec37c019b 100644 --- a/doc/guides/contributing/coding_style.rst +++ b/doc/guides/contributing/coding_style.rst @@ -619,7 +619,7 @@ Return Value ~~~~~~~~~~~~ * Functions which create objects, or allocate memory, should return pointer types, and NULL on error. - The error type should be indicated may setting the variable ``rte_errno`` appropriately. + The error type should be indicated by setting the variable ``rte_errno`` appropriately. * Functions which work on bursts of packets, such as RX-like or TX-like functions, should return the number of packets handled. * Other functions returning int should generally behave like system calls: returning 0 on success and -1 on error, setting ``rte_errno`` to indicate the specific type of error.